diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-08 10:31:57 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-08 10:33:03 +0200 |
commit | 20804f7293169f422b236deb0dab3267b6d5789d (patch) | |
tree | 9e226425dc53ab829f62ee40a1798c4bc8e18cae /src | |
parent | 29dee3abb55d0f0c6b91b311f30521b45d7e46b6 (diff) | |
download | vyos-1x-20804f7293169f422b236deb0dab3267b6d5789d.tar.gz vyos-1x-20804f7293169f422b236deb0dab3267b6d5789d.zip |
pseudo-ethernet: T2435: fix syntax and copy-paste error
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/interfaces-pseudo-ethernet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-pseudo-ethernet.py b/src/conf_mode/interfaces-pseudo-ethernet.py index 4063b85b0..ec2f1146e 100755 --- a/src/conf_mode/interfaces-pseudo-ethernet.py +++ b/src/conf_mode/interfaces-pseudo-ethernet.py @@ -122,7 +122,7 @@ def verify(peth): if not peth['source_interface'] in interfaces(): raise ConfigError(( - f'Pseudo-ethernet "{peth["intf"]}" link device does not exist') + f'Pseudo-ethernet "{peth["intf"]}" link device does not exist')) if ( peth['is_bridge_member'] and ( peth['address'] @@ -254,7 +254,7 @@ def apply(peth): p.add_to_bridge(peth['is_bridge_member']) # apply all vlans to interface - apply_all_vlans(b, bond) + apply_all_vlans(p, peth) return None |