summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-03-28 08:53:51 -0500
committerJeff Carr <[email protected]>2023-03-28 08:53:51 -0500
commit5645231c498048dd4a1e4b097437a6f4c63cd022 (patch)
treeb178242225970e6ed1dceb758b8d9b5e4e231d6e /gui.go
parent76699a310278d5b52613f0a59a664c9213fa6668 (diff)
remove places the app could exit
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui.go b/gui.go
index eb02fd6..05f52c4 100644
--- a/gui.go
+++ b/gui.go
@@ -135,6 +135,7 @@ func nsupdateGroup(w *gui.Node) {
me.DnsStatus = grid.NewLabel("unknown")
g.NewButton("Update DNS", func () {
+ log("updateDNS()")
updateDNS()
me.tab.Margin()
me.tab.Pad()
@@ -160,7 +161,9 @@ func updateDNS() {
h = "unknown.lab.wit.org"
// h = "hpdevone.lab.wit.org"
}
+ log("dnsAAAA()()")
aaaa = dnsAAAA(h)
+ log("dnsAAAA()()")
log(SPEW, me)
if (aaaa == nil) {
log("There are no DNS AAAA records for hostname: ", h)
@@ -194,4 +197,5 @@ func updateDNS() {
if (me.uid != nil) {
me.uid.SetText(user.Username + " (" + strconv.Itoa(os.Getuid()) + ")")
}
+ log("updateDNS() END")
}