summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-wireguard.py
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-09-06 14:46:43 -0700
committerhagbard <vyosdev@derith.de>2019-09-06 14:50:55 -0700
commit189ae4f7096abf7ca7100a4a31e038ce9e3e19c2 (patch)
tree881ccad7b8bf16ebbf89022925050822b07c7c33 /src/conf_mode/interface-wireguard.py
parent26ace9a7b92020bffebe85897cd3790342820612 (diff)
downloadvyos-1x-189ae4f7096abf7ca7100a4a31e038ce9e3e19c2.tar.gz
vyos-1x-189ae4f7096abf7ca7100a4a31e038ce9e3e19c2.zip
[wireguard] - T1639: wireguard pubkey change error
- sudo added to wg call - debug print removed when pubkey changes
Diffstat (limited to 'src/conf_mode/interface-wireguard.py')
-rwxr-xr-xsrc/conf_mode/interface-wireguard.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/conf_mode/interface-wireguard.py b/src/conf_mode/interface-wireguard.py
index 265491993..e7b9a267f 100755
--- a/src/conf_mode/interface-wireguard.py
+++ b/src/conf_mode/interface-wireguard.py
@@ -223,8 +223,6 @@ def apply(c):
if nkey != ekey:
sl.syslog(
sl.LOG_NOTICE, "peer {0} pubkey changed from {1} to {2} on interface {3}".format(p, ekey, nkey, ifname))
- print (
- "peer {0} pubkey changed from {1} to {2} on interface {3}".format(p, ekey, nkey, ifname))
intfc.remove_peer(ekey)
intfc.config['private-key'] = pk