mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-27 22:48:22 +08:00
changing variable declaration
This commit is contained in:
parent
4f81e0cebc
commit
770595d558
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ func InitWireguard(node *models.Node, privkey string, peers []wgtypes.PeerConfig
|
|||
}
|
||||
}
|
||||
output, _ = ncutils.RunCmd("wg", false)
|
||||
err = ApplyConf(node, deviceiface, confPath)
|
||||
err = ApplyConf(node, node.Interface, confPath)
|
||||
time.Sleep(time.Second)
|
||||
ifaceReady = strings.Contains(output, deviceiface)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue