summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-06-28 10:20:06 -0700
committerhagbard <vyosdev@derith.de>2019-06-28 10:20:06 -0700
commit2df12d1616c3f63c5db5a76ab315d06fa7d5d190 (patch)
tree2571f084e536399d7fb681bfe92044e7a514bcb6
parentb23c28dfd0e296987d7f65c2a178e6ed0fde3983 (diff)
downloadvyos-1x-2df12d1616c3f63c5db5a76ab315d06fa7d5d190.tar.gz
vyos-1x-2df12d1616c3f63c5db5a76ab315d06fa7d5d190.zip
[IPoE] configerror message fixed to show the interface where subnet is missing
-rwxr-xr-xsrc/conf_mode/ipoe_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/ipoe_server.py b/src/conf_mode/ipoe_server.py
index 470ef7ee6..4ecff2e8c 100755
--- a/src/conf_mode/ipoe_server.py
+++ b/src/conf_mode/ipoe_server.py
@@ -295,7 +295,7 @@ def verify(c):
for intfc in c['interfaces']:
if not c['interfaces'][intfc]['range']:
- raise ConfigError("service ipoe-server interface eth2 client-subnet needs a value")
+ raise ConfigError("service ipoe-server interface " + intfc + " client-subnet needs a value")
def apply(c):
if c == None: