diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-10-16 17:50:51 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-10-16 17:50:51 +0200 |
commit | 4f1ee7071853fcf7174d98cfb2518c28f3cbfdd8 (patch) | |
tree | 9377f3accd6b26740266c52c1181dd88c7830f3b | |
parent | 91d21727799b5859f6aa3075ba535c31d696158a (diff) |
rename config -> conf
-rw-r--r-- | dyndns.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -11,16 +11,16 @@ func main() { const usage = "override the default config path" configFile := flag.String("config", "/etc/dyndns.conf", usage) - config := &config{} - if err := config.parse(*configFile); err != nil { + conf := &config{} + if err := conf.parse(*configFile); err != nil { log.Fatal(err) } update4 := make(chan net.IPAddr) update6 := make(chan net.IPNet) - go monitor4(update4) - go monitor6(update6) + go monitor4(conf, update4) + go monitor6(conf, update6) for { select { |