summaryrefslogtreecommitdiff
path: root/linuxloop.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-31 12:41:28 -0600
committerJeff Carr <[email protected]>2024-01-31 12:41:28 -0600
commit1a9b13dda5e13d0786718768443bab4a6916aab9 (patch)
treeae05054e4889c2b1b7153b2992d80c4e856df20b /linuxloop.go
parent513c38922b1dca37bb2b2d64c5997e44b5796d00 (diff)
use SetText() not SetValue()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'linuxloop.go')
-rw-r--r--linuxloop.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/linuxloop.go b/linuxloop.go
index 41842e1..e1d7d5e 100644
--- a/linuxloop.go
+++ b/linuxloop.go
@@ -46,7 +46,7 @@ func linuxLoop() {
if tmp != me.workingIPv4.String() {
log.Log(CHANGE, "realAAAA() your real IPv6 addresses changed")
me.changed = true
- me.workingIPv4.SetValue(tmp)
+ me.workingIPv4.SetText(tmp)
}
// get all the real AAAA records from all the network interfaces linux can see
@@ -56,7 +56,7 @@ func linuxLoop() {
if tmp != me.workingIPv6.String() {
log.Log(CHANGE, "realAAAA() your real IPv6 addresses changed")
me.changed = true
- me.workingIPv6.SetValue(tmp)
+ me.workingIPv6.SetText(tmp)
}
user, _ := user.Current()
@@ -64,7 +64,7 @@ func linuxLoop() {
if tmp != me.uid.String() {
log.Log(CHANGE, "os.Getuid =", user.Username, os.Getuid())
me.changed = true
- me.uid.SetValue(tmp)
+ me.uid.SetText(tmp)
}
content, _ := ioutil.ReadFile("/etc/resolv.conf")
@@ -82,7 +82,7 @@ func linuxLoop() {
if newNS != me.resolver.String() {
log.Log(CHANGE, "resolver changed in /etc/resolv.conf to", ns)
me.changed = true
- me.resolver.SetValue(newNS)
+ me.resolver.SetText(newNS)
}
/*