mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-04 16:33:49 +08:00
fixed constant peer update issue
This commit is contained in:
@@ -1090,8 +1090,11 @@ func CheckIn(network string) error {
|
||||
if err != nil {
|
||||
fmt.Println("ERROR DELETING INTERFACE: " + currentiface)
|
||||
}
|
||||
}
|
||||
err = setWGConfig(network)
|
||||
if err != nil {
|
||||
log.Printf("Error updating interface: %v", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if checkinres.Checkinresponse.Needconfigupdate {
|
||||
|
Reference in New Issue
Block a user