mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-12 08:04:25 +08:00
Merge pull request #81 from gravitl/bugfix_v0.2_portconflicts
Bugfix v0.2 portconflicts
This commit is contained in:
commit
a4be6992dd
1 changed files with 7 additions and 1 deletions
|
@ -1129,10 +1129,16 @@ func WipeLocal(network string) error{
|
|||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
err = os.Remove(home + "/nettoken-"+network)
|
||||
err = os.Remove(home + "/nettoken-" + network)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
||||
err = os.Remove(home + "/wgkey-" + network)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
||||
ipExec, err := exec.LookPath("ip")
|
||||
|
||||
if ifacename != "" {
|
||||
|
|
Loading…
Add table
Reference in a new issue