minor fix
This commit is contained in:
parent
e5319cd50e
commit
82b5717f48
28
gui.go
28
gui.go
|
@ -70,32 +70,6 @@ func debugTab(title string) {
|
||||||
me.debug.Hide()
|
me.debug.Hide()
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
// will return a AAAA value that needs to be deleted
|
|
||||||
func deleteAAA() string {
|
|
||||||
var aaaa []string
|
|
||||||
aaaa = dhcpAAAA() // your AAAA IP addresses right now
|
|
||||||
for _, s := range aaaa {
|
|
||||||
log.Log(NOW, "DNS AAAA =", s)
|
|
||||||
if ( me.ipmap[s] == nil) {
|
|
||||||
return s
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
// will return a AAAA value that needs to be added
|
|
||||||
func missingAAAA() string {
|
|
||||||
var aaaa []string
|
|
||||||
aaaa = dhcpAAAA() // your AAAA IP addresses right now
|
|
||||||
for _, s := range aaaa {
|
|
||||||
log.Log(NOW, "missing AAAA =", s)
|
|
||||||
return s
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
// doesn't actually do any network traffic
|
// doesn't actually do any network traffic
|
||||||
// it just updates the GUI
|
// it just updates the GUI
|
||||||
func displayDNS() string {
|
func displayDNS() string {
|
||||||
|
@ -266,7 +240,7 @@ func updateDNS() {
|
||||||
var aaaa []string
|
var aaaa []string
|
||||||
h := me.statusOS.GetHostname()
|
h := me.statusOS.GetHostname()
|
||||||
aaaa = digAAAA(h)
|
aaaa = digAAAA(h)
|
||||||
log.Log(NOW, "digAAAA() for", h, "=", aaaa)
|
log.Log(INFO, "digAAAA() for", h, "=", aaaa)
|
||||||
|
|
||||||
// log.Println(SPEW, me)
|
// log.Println(SPEW, me)
|
||||||
if (aaaa == nil) {
|
if (aaaa == nil) {
|
||||||
|
|
Loading…
Reference in New Issue