summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-03-09 14:21:34 -0600
committerJeff Carr <[email protected]>2023-03-09 14:21:34 -0600
commit0b26e5f1ca6807a1bc3fc6c365d449c5f6a4a866 (patch)
tree008f9f3c5a54f21874c0ff4dc5dfd0daab7b7c64 /main.go
parent3ce3a39226bd6c0e738cdf76a55b05be1bad3cc3 (diff)
hostname actually set
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index d94137d..e2a11b5 100644
--- a/main.go
+++ b/main.go
@@ -1,6 +1,7 @@
// GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
// Copyright (c) 2023 WIT.COM, Inc.
// This is a control panel for DNS
+
package main
import (
@@ -64,7 +65,7 @@ func checkNetworkChanges() {
// Run this every once and a while
func dnsTTL() {
- output("FQDN = " + me.fqdn + "\n", false)
+ output("FQDN = " + me.fqdn.GetText() + "\n", true)
getHostname()
scanInterfaces()
for i, t := range me.ifmap {