From 189ae4f7096abf7ca7100a4a31e038ce9e3e19c2 Mon Sep 17 00:00:00 2001 From: hagbard Date: Fri, 6 Sep 2019 14:46:43 -0700 Subject: [wireguard] - T1639: wireguard pubkey change error - sudo added to wg call - debug print removed when pubkey changes --- src/conf_mode/interface-wireguard.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3