Skip to content
Permalink
Browse files

[wireguard] - T1516: changing committed config causes error

  • Loading branch information...
hagbard-01 committed Jul 9, 2019
1 parent 02e5bb5 commit 65b2f36a77f311a207b8e5406d222f4dbef177cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 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))

0 comments on commit 65b2f36

Please sign in to comment.
You can’t perform that action at this time.