fixed LCP Echo Request/Reply feature

This commit is contained in:
Sylvain Rochet 2012-07-07 12:16:48 +02:00
parent c9e7531251
commit be9b23a082

View File

@ -2595,7 +2595,7 @@ static void LcpEchoCheck(fsm *f) {
*/
static void LcpEchoTimeout(void *arg) {
fsm *f = (fsm*)f;
fsm *f = (fsm*)arg;
ppp_pcb *pcb = f->pcb;
if (pcb->lcp_echo_timer_running != 0) {
pcb->lcp_echo_timer_running = 0;