adding sync

This commit is contained in:
afeiszli
2021-11-12 11:24:29 -05:00
parent c2948a3671
commit 5b3b6119ae
4 changed files with 75 additions and 58 deletions

View File

@@ -220,7 +220,7 @@ func JoinNetwork(cfg config.ClientConfig, privateKey string) error {
}
ncutils.Log("starting wireguard")
err = wireguard.InitWireguard(&node, privateKey, peers, hasGateway, gateways)
err = wireguard.InitWireguard(&node, privateKey, peers, hasGateway, gateways, false)
if err != nil {
return err
}