summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-07-09 09:58:16 -0700
committerhagbard <vyosdev@derith.de>2019-07-09 09:58:16 -0700
commit65b2f36a77f311a207b8e5406d222f4dbef177cf (patch)
treeb9528c4043d5c039cc131c32c042ad48769129cc /src
parent02e5bb55d3922516cfe53016202d58924b72950a (diff)
downloadvyos-1x-65b2f36a77f311a207b8e5406d222f4dbef177cf.tar.gz
vyos-1x-65b2f36a77f311a207b8e5406d222f4dbef177cf.zip
[wireguard] - T1516: changing committed config causes error
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/wireguard.py2
1 files changed, 1 insertions, 1 deletions
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))