summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-06 14:23:28 +0100
committerGitHub <noreply@github.com>2020-03-06 14:23:28 +0100
commit18f8323b7bc22b5b7a8876f4bef8c28b4abe193f (patch)
tree731f030b7cc0d72118b3a570230483a625baf5dc /src
parentf1d4cf72cd7211bf5348108f4367274c07cdf27a (diff)
parent3f3c2a1f66840bee1da05598cf62f299317f483a (diff)
downloadvyos-1x-18f8323b7bc22b5b7a8876f4bef8c28b4abe193f.tar.gz
vyos-1x-18f8323b7bc22b5b7a8876f4bef8c28b4abe193f.zip
Merge pull request #242 from thomas-mangin/split
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']: