diff --git a/machine.go b/machine.go index bc01714d..0dc70815 100644 --- a/machine.go +++ b/machine.go @@ -1053,6 +1053,7 @@ func (h *Headscale) EnableRoutes(machine *Machine, routeStrs ...string) error { } h.setLastStateChangeToNow() + return nil } diff --git a/routes.go b/routes.go index e4f74e6b..a58be576 100644 --- a/routes.go +++ b/routes.go @@ -237,6 +237,7 @@ func (h *Headscale) handlePrimarySubnetFailover() error { } routesChanged = true + continue } } @@ -316,6 +317,7 @@ func (h *Headscale) handlePrimarySubnetFailover() error { if routesChanged { h.setLastStateChangeToNow() } + return nil }