aboutsummaryrefslogtreecommitdiff
path: root/dyndns.go
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2022-10-16 18:04:49 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2022-10-16 18:04:49 +0200
commitf7a7fc2170dbbaeaa046d238619471f7b5bff4bb (patch)
treec30f081fb34b7613be9241679cbd186d7978ca64 /dyndns.go
parentf5af422e4dd813b19f475e41e3f79bf2e789382c (diff)
merge monitor4 and monitor6
Diffstat (limited to 'dyndns.go')
-rw-r--r--dyndns.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/dyndns.go b/dyndns.go
index 298ee9f..f63e5c0 100644
--- a/dyndns.go
+++ b/dyndns.go
@@ -19,8 +19,7 @@ func main() {
update4 := make(chan net.IPAddr)
update6 := make(chan net.IPNet)
- go monitor4(conf, update4)
- go monitor6(conf, update6)
+ go monitor(conf, update4, update6)
for {
select {