Hi All
I see the echo in the PPP link: lcp: Echo-Request, Rcvd id 0
but in my project:
static u_int lcp_echo_interval = LCP_ECHOINTERVAL; /* Interval between
LCP echo-requests */
It should not happen lcp echo?
static void
LcpEchoCheck (fsm *f)
{
LcpSendEchoRequest (f);
/*
* Start the timer for the next interval.
*/
LWIP_ASSERT("lcp_echo_timer_running == 0", lcp_echo_timer_running == 0);
TIMEOUT (LcpEchoTimeout, f, lcp_echo_interval);
lcp_echo_timer_running = 1;
}
Is there anyone known the problem?
or should i change the code as
if( lcp_echo_interval)
{
TIMEOUT (LcpEchoTimeout, f, lcp_echo_interval);
lcp_echo_timer_running = 1;
}
Lee
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users