forked from extern/smegmesh
Bugfix
Added replace peers so that deleted nodes are automatically removed
This commit is contained in:
parent
32e7e4c7df
commit
a82eab0686
@ -227,6 +227,7 @@ func (m *WgMeshConfigApplyer) updateWgConf(mesh MeshProvider) error {
|
||||
|
||||
cfg := wgtypes.Config{
|
||||
Peers: peerConfigs,
|
||||
ReplacePeers: true,
|
||||
}
|
||||
|
||||
dev, err := mesh.GetDevice()
|
||||
|
Loading…
Reference in New Issue
Block a user