summaryrefslogtreecommitdiff
path: root/python
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 /python
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 'python')
-rw-r--r--python/vyos/ifconfig_vlan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig_vlan.py b/python/vyos/ifconfig_vlan.py
index 09fb8c802..bb93121e7 100644
--- a/python/vyos/ifconfig_vlan.py
+++ b/python/vyos/ifconfig_vlan.py
@@ -185,7 +185,7 @@ def verify_vlan_config(config):
if vif_id == vif_s_id:
raise ConfigError((
f'Cannot use identical ID on vif "{vif["intf"]}" '
- f'and vif-s "{vif_s}"'))
+ f'and vif-s "{vif_s["intf"]}"'))
# DHCPv6 parameters-only and temporary address are mutually exclusive
if vif_s['dhcpv6_prm_only'] and vif_s['dhcpv6_temporary']: