diff options
author | xebd <xeb@mail.ru> | 2019-01-25 06:21:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-25 06:21:54 +0300 |
commit | 6538ee3289b39c2c978a9a7c6d82a4e9f7dbfd7f (patch) | |
tree | eb7ce649d592d011cf943a3aaab7e3869bcaaf1c | |
parent | 7a08d2a9fd1dc942d5ac09d069eea258b1e0c7d8 (diff) | |
parent | e89002ccecad87799877a18acbdf2e9825de3779 (diff) | |
download | accel-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.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 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) |