diff --git a/hscontrol/poll.go b/hscontrol/poll.go index dfbfefe3ba5..0be9179e1b4 100644 --- a/hscontrol/poll.go +++ b/hscontrol/poll.go @@ -97,7 +97,7 @@ func (h *Headscale) handlePoll( // the route change. // If the hostinfo has changed, but not the routes, just update // hostinfo and let the function continue. - if node.Hostinfo.Equal(mapRequest.Hostinfo) { + if !node.Hostinfo.Equal(mapRequest.Hostinfo) { oldRoutes := node.Hostinfo.RoutableIPs newRoutes := mapRequest.Hostinfo.RoutableIPs