author | kejun.gao <kejun.gao@amlogic.com> | 2011-10-30 04:03:27 (GMT) |
---|---|---|
committer | kejun.gao <kejun.gao@amlogic.com> | 2011-10-30 04:03:27 (GMT) |
commit | 0ed76b207cb0edaaac8e835dd5e507448e2cf71e (patch) | |
tree | 7fc3962ff4c70b13f57dd4357e117aa744309cc9 | |
parent | 94e94eb9989d3da1baf8a4a41cc19e3a7c839f4d (diff) | |
download | pppoe-0ed76b207cb0edaaac8e835dd5e507448e2cf71e.zip pppoe-0ed76b207cb0edaaac8e835dd5e507448e2cf71e.tar.gz pppoe-0ed76b207cb0edaaac8e835dd5e507448e2cf71e.tar.bz2 |
Fix Bug: Some server will discard PADI without Host-Uniq
-rwxr-xr-x | jni/pppoe_jni.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/pppoe_jni.cpp b/jni/pppoe_jni.cpp index 9040945..0ed28e5 100755 --- a/jni/pppoe_jni.cpp +++ b/jni/pppoe_jni.cpp @@ -56,7 +56,7 @@ static char* create_pppoe_plugin_cmd(char *pid_file, char *ether_if) { int len; len = snprintf(pppoe_plugin_cmd, PPPOE_PLUGIN_CMD_LEN_MAX, - "'pppoe -p %s -I %s -T 80 - U -m 1412'", + "'pppoe -p %s -I %s -T 80 -U -m 1412'", pid_file, ether_if); if ( len < 0 || len >= PPPOE_PLUGIN_CMD_LEN_MAX ) { return NULL; |