lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] lwip-users] PPP problems: for lcp ech


From: yueyue papa
Subject: [lwip-users] lwip-users] PPP problems: for lcp ech
Date: Sat, 6 Dec 2008 15:49:15 +0800

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
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]