From e89002ccecad87799877a18acbdf2e9825de3779 Mon Sep 17 00:00:00 2001 From: Vladislav Grishenko Date: Wed, 23 Jan 2019 18:43:33 +0500 Subject: ipoe: log invalid start values and fix dist config --- accel-pppd/accel-ppp.conf | 2 +- accel-pppd/ctrl/ipoe/ipoe.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'accel-pppd') 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) -- cgit v1.2.3