diff --git a/app.go b/app.go index 9eb52d81b1..3c48b8b263 100644 --- a/app.go +++ b/app.go @@ -162,6 +162,7 @@ func NewHeadscale(cfg *Config) (*Headscale, error) { aclRules: tailcfg.FilterAllowAll, // default allowall registrationCache: registrationCache, pollNetMapStreamWG: sync.WaitGroup{}, + lastStateChange: xsync.NewMapOf[time.Time](), } err = app.initDB()