diff options
author | hagbard <vyosdev@derith.de> | 2019-06-28 10:20:06 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-06-28 10:20:06 -0700 |
commit | 2df12d1616c3f63c5db5a76ab315d06fa7d5d190 (patch) | |
tree | 2571f084e536399d7fb681bfe92044e7a514bcb6 | |
parent | b23c28dfd0e296987d7f65c2a178e6ed0fde3983 (diff) | |
download | vyos-1x-2df12d1616c3f63c5db5a76ab315d06fa7d5d190.tar.gz vyos-1x-2df12d1616c3f63c5db5a76ab315d06fa7d5d190.zip |
[IPoE] configerror message fixed to show the interface where subnet is missing
-rwxr-xr-x | src/conf_mode/ipoe_server.py | 2 |
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: |