Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
Fix deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
ehhthing committed Feb 8, 2021
1 parent 0563886 commit 67c5321
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func DeleteServer(ip IPAddr) error {

err := wgClient.ConfigureDevice(config.Interface, wgtypes.Config{
Peers: newPeers,
ReplacePeers: true,
})

if err != nil {
Expand Down

0 comments on commit 67c5321

Please sign in to comment.