summaryrefslogtreecommitdiff
path: root/hostname.go
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
commit90f9015ab214f7f5f2d2b2b09078f7888e2039f2 (patch)
tree16e1fa064fc06d6f561d7d94badd372cad75c5aa /hostname.go
parent058f14212775c80e97f4391f6fa6edea96981c73 (diff)
correctly shows the DNS status
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'hostname.go')
-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)
}