diff --git a/peer.go b/peer.go index 666202e..02b9879 100644 --- a/peer.go +++ b/peer.go @@ -7,7 +7,7 @@ import ( "golang.zx2c4.com/wireguard/wgctrl/wgtypes" ) -func RemovePeer(deviceName, PeerPublicKey string) (error) { +func PeerRemove(deviceName, PeerPublicKey string) (error) { client, err := wgctrl.New() if err != nil { return fmt.Errorf("Cant create wgctrl: %w", err)