summaryrefslogtreecommitdiff
path: root/linuxstatus/hostname.go
diff options
context:
space:
mode:
Diffstat (limited to 'linuxstatus/hostname.go')
-rw-r--r--linuxstatus/hostname.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/linuxstatus/hostname.go b/linuxstatus/hostname.go
index 184e593..2a83eba 100644
--- a/linuxstatus/hostname.go
+++ b/linuxstatus/hostname.go
@@ -3,7 +3,6 @@
package linuxstatus
import (
- "strings"
"io/ioutil"
"go.wit.com/log"
@@ -65,12 +64,6 @@ func (ls *LinuxStatus) setHostShort() {
}
}
-func (ls *LinuxStatus) GetIPv6() []string {
- if ! me.Ready() {return nil}
- tmp := me.workingIPv6.Get()
- return strings.Split(tmp, "\n")
-}
-
func lookupHostname() {
if ! me.Ready() {return}
var err error