summaryrefslogtreecommitdiff
path: root/nsupdate.go
diff options
context:
space:
mode:
Diffstat (limited to 'nsupdate.go')
-rw-r--r--nsupdate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsupdate.go b/nsupdate.go
index 2757b75..add2c94 100644
--- a/nsupdate.go
+++ b/nsupdate.go
@@ -22,7 +22,7 @@ func nsupdate() {
cmd := "go-nsupdate --tsig-algorithm=hmac-sha512"
tsigSecret = os.Getenv("TIG_SECRET")
cmd += " --tig-secret=\"" + tsigSecret + "\""
- cmd += " -i wlo1 " + me.status.GetHostname()
+ cmd += " -i wlo1 " + me.statusOS.GetHostname()
log.Log(NET, "nsupdate() RUN:", cmd)
for s, t := range me.ipmap {