summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorVladislav Grishenko <themiron@mail.ru>2019-01-23 18:43:33 +0500
committerVladislav Grishenko <themiron@mail.ru>2019-01-23 18:43:33 +0500
commite89002ccecad87799877a18acbdf2e9825de3779 (patch)
treeeb7ce649d592d011cf943a3aaab7e3869bcaaf1c /accel-pppd
parent7a08d2a9fd1dc942d5ac09d069eea258b1e0c7d8 (diff)
downloadaccel-ppp-e89002ccecad87799877a18acbdf2e9825de3779.tar.gz
accel-ppp-e89002ccecad87799877a18acbdf2e9825de3779.zip
ipoe: log invalid start values and fix dist config
Diffstat (limited to 'accel-pppd')
-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)