summaryrefslogtreecommitdiff
path: root/pkg/backend/init.go
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-06-22 17:57:29 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-06-22 18:04:48 +0200
commit9f1807c2c053e3b57881d42ebf58ec26dfee1b1d (patch)
tree70abd66546c6ad1f49edfc032eaf9f1cd8ca5d30 /pkg/backend/init.go
parent514a6a8a1f1188a8dd95c79db150711cdc30bc48 (diff)
[bug] populate gateways early on
- Closes: #511
Diffstat (limited to 'pkg/backend/init.go')
-rw-r--r--pkg/backend/init.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/backend/init.go b/pkg/backend/init.go
index 6fb794a..b7469c1 100644
--- a/pkg/backend/init.go
+++ b/pkg/backend/init.go
@@ -35,6 +35,7 @@ func initializeContext(opts *InitOpts) {
go checkErrors(errCh)
initializeBitmask(errCh, opts)
go trigger(OnStatusChanged)
+ ctx.delayCheckForGateways()
}
func checkErrors(errCh chan string) {