summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-03-25 15:43:24 -0500
committerJeff Carr <[email protected]>2023-03-25 15:43:24 -0500
commitfa6ce585de8bc7eed3bcbaf6537129497ba55ce8 (patch)
treeee747f8606919c2b70f30f4199f74430b835a036
parentc314dab9ed963a381c7d53129703630e1d0dd409 (diff)
correctly shows the DNS status
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--hostname.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostname.go b/hostname.go
index 1906079..afd8d0b 100644
--- a/hostname.go
+++ b/hostname.go
@@ -28,7 +28,9 @@ func getHostname() {
if (me.fqdn != nil) {
// s = me.fqdn.GetText()
log("trying to update gui.Label")
+ me.fqdn.AddText(s)
me.fqdn.SetText(s)
+ me.hostname = s
}
log("FQDN =", s)
}