mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-09-13 02:05:43 +00:00
re-enabled LCP echo interval / echo fail
This commit is contained in:
parent
ca1ad99bea
commit
c549dba725
@ -75,8 +75,15 @@ static void lcp_delayed_up (void *);
|
||||
/*
|
||||
* LCP-related command-line options.
|
||||
*/
|
||||
#if 0 /* UNUSED */
|
||||
int lcp_echo_interval = 0; /* Interval between LCP echo-requests */
|
||||
int lcp_echo_fails = 0; /* Tolerance to unanswered echo-requests */
|
||||
#endif /* UNUSED */
|
||||
|
||||
/* options */
|
||||
static u_int lcp_echo_interval = LCP_ECHOINTERVAL; /* Interval between LCP echo-requests */
|
||||
static u_int lcp_echo_fails = LCP_MAXECHOFAILS; /* Tolerance to unanswered echo-requests */
|
||||
|
||||
#if PPP_LCP_ADAPTIVE
|
||||
bool lcp_echo_adaptive = 0; /* request echo only if the link was idle */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user