diff options
author | hagbard <vyosdev@derith.de> | 2019-07-09 09:58:16 -0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-07-11 19:08:14 +0200 |
commit | 1725f958cf28578583a49462d0a9ebc707978fb3 (patch) | |
tree | 98933668e957af62a01321cf2b7d9facbed3c315 /src | |
parent | dff8ab9d27726d380eb3d5eb8e4262929903e948 (diff) | |
download | vyos-1x-1725f958cf28578583a49462d0a9ebc707978fb3.tar.gz vyos-1x-1725f958cf28578583a49462d0a9ebc707978fb3.zip |
[wireguard] - T1516: changing committed config causes error
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/wireguard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/wireguard.py b/src/conf_mode/wireguard.py index e893dba47..169d57800 100755 --- a/src/conf_mode/wireguard.py +++ b/src/conf_mode/wireguard.py @@ -221,7 +221,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)) |