diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-04 17:58:35 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-04 17:58:35 +0000 |
commit | 939546c4213d3123babf54133698266688fd8c9f (patch) | |
tree | 4d68500096ff028ac37fd9375b599126643d35ee /python | |
parent | 1232f0e2c69eb14f29fd9ec8d91c1f5217d6cd76 (diff) | |
download | vyos-1x-939546c4213d3123babf54133698266688fd8c9f.tar.gz vyos-1x-939546c4213d3123babf54133698266688fd8c9f.zip |
mirror: T3089: bugfix is_mirror_intf code path
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/ifconfig/interface.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/interface.py b/python/vyos/ifconfig/interface.py index 163ab2f6a..35a964110 100644 --- a/python/vyos/ifconfig/interface.py +++ b/python/vyos/ifconfig/interface.py @@ -1019,7 +1019,7 @@ class Interface(Control): if 'is_mirror_intf' in self._config: source_if = next(iter(self._config['is_mirror_intf'])) - config = self._config['is_mirror_intf'][source_if] + config = self._config['is_mirror_intf'][source_if].get('mirror', None) # Remove existing mirroring rules delete_tc_cmd = f'tc qdisc del dev {source_if} handle ffff: ingress; ' |