mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-26 18:30:23 +08:00
routes for different OSs should be handled, cleaned up apply conf
This commit is contained in:
@@ -73,7 +73,7 @@ func ApplyWGQuickConf(confPath string, ifacename string) error {
|
||||
}
|
||||
|
||||
// ApplyMacOSConf - applies system commands similar to wg-quick using golang for MacOS
|
||||
func ApplyMacOSConf(node models.Node, ifacename string, confPath string) error {
|
||||
func ApplyMacOSConf(node *models.Node, ifacename string, confPath string) error {
|
||||
var err error
|
||||
_ = WgQuickDownMac(node, ifacename)
|
||||
err = WgQuickUpMac(node, ifacename, confPath)
|
||||
|
||||
Reference in New Issue
Block a user