diff options
| author | Jeff Carr <[email protected]> | 2024-01-06 19:00:51 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-06 19:00:51 -0600 |
| commit | 53fbb4cb85ffe7be05aedfcb40a17bf8d15560ad (patch) | |
| tree | 73c8962c5ffc5f56a44c678d0da110235c7d7253 /linuxstatus/hostname.go | |
| parent | 0148cec0b28d88f348b88b54ddd9dcbc7c71c823 (diff) | |
ready to compare host and dns AAAA values
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'linuxstatus/hostname.go')
| -rw-r--r-- | linuxstatus/hostname.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linuxstatus/hostname.go b/linuxstatus/hostname.go index e9ac5f4..63ab817 100644 --- a/linuxstatus/hostname.go +++ b/linuxstatus/hostname.go @@ -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 |
