-rwxr-xr-x | Android.mk | 4 | ||||
-rwxr-xr-x | jni/src/common.c | 159 | ||||
-rwxr-xr-x | jni/src/discovery.c | 3 | ||||
-rwxr-xr-x | jni/src/pppoe.c | 2 | ||||
-rwxr-xr-x | jni/src/pppoe_cli.c | 11 |
5 files changed, 176 insertions, 3 deletions
diff --git a/jni/src/discovery.c b/jni/src/discovery.c index c92ceef..63884bc 100755 --- a/jni/src/discovery.c +++ b/jni/src/discovery.c @@ -652,6 +652,7 @@ waitForPADS(PPPoEConnection *conn, int timeout) * Performs the PPPoE discovery phase ***********************************************************************/ static struct timeval current_time; +void savePADT(PPPoEConnection *conn, char const *msg); static int g_padi_sent = 0; void @@ -730,6 +731,8 @@ discovery(PPPoEConnection *conn) timeout *= 2; } while (conn->discoveryState == STATE_SENT_PADR); + savePADT(conn, "RP-PPPoE: Received gaokj to disconnect"); + /* We're done. */ conn->discoveryState = STATE_SESSION; return; |