diff options
Diffstat (limited to 'monitor.go')
-rw-r--r-- | monitor.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ func monitor4(conf *config, update4 chan<- net.IPAddr) { } } - if !addr4.IP.Equal(prevAddr4) { + if !addr4.IP.Equal(prevAddr4.IP) { logger.Println("detected new IPv4 address:", addr4) update4 <- addr4 |