summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-05-08 10:37:01 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-05-08 10:37:01 +0200
commitd546e8d730f83d0a7a97027b4b2b05e25ac19b8c (patch)
tree2ba472f26b0767b96c1c2edc0d231e412436171b
parent8bc6365d0d68268def85decd20a007a22c9ad44f (diff)
downloadvyos-1x-d546e8d730f83d0a7a97027b4b2b05e25ac19b8c.tar.gz
vyos-1x-d546e8d730f83d0a7a97027b4b2b05e25ac19b8c.zip
vlan: T2435: fix missing dict key in print variable
-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']: