From 65b2f36a77f311a207b8e5406d222f4dbef177cf Mon Sep 17 00:00:00 2001 From: hagbard Date: Tue, 9 Jul 2019 09:58:16 -0700 Subject: [wireguard] - T1516: changing committed config causes error --- src/conf_mode/wireguard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/wireguard.py b/src/conf_mode/wireguard.py index b6c1e189b..8234fad0b 100755 --- a/src/conf_mode/wireguard.py +++ b/src/conf_mode/wireguard.py @@ -225,7 +225,7 @@ def apply(c): ### config updates if c['interfaces'][intf]['status'] == 'exists': ### IP address change - addr_eff = re.sub("\'", "", c_eff.return_effective_values(intf + ' address')).split() + addr_eff = c_eff.return_effective_values(intf + ' address') addr_rem = list(set(addr_eff) - set(c['interfaces'][intf]['addr'])) addr_add = list(set(c['interfaces'][intf]['addr']) - set(addr_eff)) -- cgit v1.2.3