mirror of
https://github.com/fosrl/olm.git
synced 2026-02-15 01:16:41 +00:00
Add registered to api
This commit is contained in:
@@ -405,6 +405,10 @@ func Run(ctx context.Context, config Config) {
|
||||
|
||||
peerMonitor.Start()
|
||||
|
||||
if apiServer != nil {
|
||||
apiServer.SetRegistered(true)
|
||||
}
|
||||
|
||||
connected = true
|
||||
|
||||
logger.Info("WireGuard device created.")
|
||||
|
||||
Reference in New Issue
Block a user