diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-01 18:13:59 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-04 22:59:39 +0200 |
commit | ad0448e6e213dd964d44fac450c4a428d035f635 (patch) | |
tree | 3f337054db156ecbe9a7f9f49fcee2aa67ff30e6 /src/conf_mode/interfaces-wireguard.py | |
parent | 41a2e2f7de7bf281b4233d82d3b43d6039019bc7 (diff) | |
download | vyos-1x-ad0448e6e213dd964d44fac450c4a428d035f635.tar.gz vyos-1x-ad0448e6e213dd964d44fac450c4a428d035f635.zip |
ethernet: T2241: fix falling out of bridge when changing settings
Previously, set_vrf was always called, which uses the same master and nomaster
commands as bridge, so it removed the interface from the bridge.
- add checks to make VRF and bridge membership mutually exclusive
- always re-add the interface back to any bridge it is part of
Diffstat (limited to 'src/conf_mode/interfaces-wireguard.py')
0 files changed, 0 insertions, 0 deletions