diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2019-01-23 18:43:33 +0500 |
---|---|---|
committer | Vladislav Grishenko <themiron@mail.ru> | 2019-01-23 18:43:33 +0500 |
commit | e89002ccecad87799877a18acbdf2e9825de3779 (patch) | |
tree | eb7ce649d592d011cf943a3aaab7e3869bcaaf1c | |
parent | 7a08d2a9fd1dc942d5ac09d069eea258b1e0c7d8 (diff) | |
download | accel-ppp-e89002ccecad87799877a18acbdf2e9825de3779.tar.gz accel-ppp-e89002ccecad87799877a18acbdf2e9825de3779.zip |
ipoe: log invalid start values and fix dist config
-rw-r--r-- | accel-pppd/accel-ppp.conf | 2 | ||||
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/accel-pppd/accel-ppp.conf b/accel-pppd/accel-ppp.conf index f28a3aa..929402b 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 6155ccb..6fd850d 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) |