ready to compare host and dns AAAA values

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-06 19:00:51 -06:00
parent 1191d15484
commit 39a32b3933
1 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,7 @@
package linuxstatus
import (
"strings"
"go.wit.com/log"
"go.wit.com/shell"
@ -64,6 +65,11 @@ func (ls *LinuxStatus) setHostShort() {
}
}
func (ls *LinuxStatus) GetIPv6os() []string {
tmp := me.workingIPv6.Get()
return strings.Split(tmp, "\n")
}
func lookupHostname() {
if ! me.Ready() {return}
var err error