From 2df12d1616c3f63c5db5a76ab315d06fa7d5d190 Mon Sep 17 00:00:00 2001 From: hagbard Date: Fri, 28 Jun 2019 10:20:06 -0700 Subject: [IPoE] configerror message fixed to show the interface where subnet is missing --- src/conf_mode/ipoe_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3