summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-03-05 23:22:39 +0000
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-03-06 08:55:15 +0000
commit3f3c2a1f66840bee1da05598cf62f299317f483a (patch)
tree6f980a0badae8fb1c6f49bf675bc539b2f57b585 /src
parentab648ec98610d41a759d380000e4dce7c181cf3b (diff)
downloadvyos-1x-3f3c2a1f66840bee1da05598cf62f299317f483a.tar.gz
vyos-1x-3f3c2a1f66840bee1da05598cf62f299317f483a.zip
ifconfig: T2104: splt ifconfig.py into multiple files
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interfaces-ethernet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-ethernet.py b/src/conf_mode/interfaces-ethernet.py
index 43cc22589..ede62e5e3 100755
--- a/src/conf_mode/interfaces-ethernet.py
+++ b/src/conf_mode/interfaces-ethernet.py
@@ -250,7 +250,7 @@ def verify(eth):
bond_member = conf.return_values('interfaces bonding ' + bond + ' member interface')
if eth['intf'] in bond_member:
if eth['address']:
- raise ConfigError('Can not assign address to interface {} which is a member of {}').format(eth['intf'], bond)
+ raise ConfigError('Can not assign address to interface {} which is a member of {}'.format(eth['intf'], bond))
# DHCPv6 parameters-only and temporary address are mutually exclusive
for vif_s in eth['vif_s']: