summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-pseudo-ethernet.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-08 18:37:06 +0200
committerGitHub <noreply@github.com>2020-05-08 18:37:06 +0200
commit088cfcfde4168054035904f00dd9b1d43e1c3477 (patch)
tree2b8b110f90544eb7efe305fe5b62d8ec2a9cb9dd /src/conf_mode/interfaces-pseudo-ethernet.py
parent991ff167d53ab173495f75b33b877a94c3edd24f (diff)
parentd546e8d730f83d0a7a97027b4b2b05e25ac19b8c (diff)
downloadvyos-1x-088cfcfde4168054035904f00dd9b1d43e1c3477.tar.gz
vyos-1x-088cfcfde4168054035904f00dd9b1d43e1c3477.zip
Merge pull request #402 from jjakob/fix-syntax-T2435
T2435: fix syntax errors
Diffstat (limited to 'src/conf_mode/interfaces-pseudo-ethernet.py')
-rwxr-xr-xsrc/conf_mode/interfaces-pseudo-ethernet.py4
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