diff --git a/machine.go b/machine.go index bc01714..0dc7081 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 e4f74e6..a58be57 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 }