ready to compare host and dns AAAA values
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
1191d15484
commit
39a32b3933
|
@ -3,6 +3,7 @@
|
||||||
package linuxstatus
|
package linuxstatus
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"strings"
|
||||||
"go.wit.com/log"
|
"go.wit.com/log"
|
||||||
"go.wit.com/shell"
|
"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() {
|
func lookupHostname() {
|
||||||
if ! me.Ready() {return}
|
if ! me.Ready() {return}
|
||||||
var err error
|
var err error
|
||||||
|
|
Loading…
Reference in New Issue