summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxebd <xeb@mail.ru>2019-01-25 06:21:54 +0300
committerGitHub <noreply@github.com>2019-01-25 06:21:54 +0300
commit6538ee3289b39c2c978a9a7c6d82a4e9f7dbfd7f (patch)
treeeb7ce649d592d011cf943a3aaab7e3869bcaaf1c
parent7a08d2a9fd1dc942d5ac09d069eea258b1e0c7d8 (diff)
parente89002ccecad87799877a18acbdf2e9825de3779 (diff)
downloadaccel-ppp-6538ee3289b39c2c978a9a7c6d82a4e9f7dbfd7f.tar.gz
accel-ppp-6538ee3289b39c2c978a9a7c6d82a4e9f7dbfd7f.zip
Merge pull request #67 from themiron/ipoe-start-fix
ipoe: log invalid start values and fix dist config
-rw-r--r--accel-pppd/accel-ppp.conf2
-rw-r--r--accel-pppd/ctrl/ipoe/ipoe.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/accel-pppd/accel-ppp.conf b/accel-pppd/accel-ppp.conf
index f28a3aa7..929402b0 100644
--- a/accel-pppd/accel-ppp.conf
+++ b/accel-pppd/accel-ppp.conf
@@ -142,7 +142,7 @@ shared=0
ifcfg=1
mode=L2
start=dhcpv4
-#start=UP
+#start=up
#ip-unnumbered=1
#proxy-arp=0
#nat=0
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c
index 6155ccb3..6fd850da 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -3846,6 +3846,8 @@ static void load_config(void)
conf_up = 1;
else if (!strcmp(opt1->val, "auto"))
conf_auto = 1;
+ else
+ log_error("ipoe: failed to parse 'start=%s'\n", opt1->val);
}
if (!conf_dhcpv4 && !conf_up)