mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-05 14:04:38 +08: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.
|
* LCP-related command-line options.
|
||||||
*/
|
*/
|
||||||
|
#if 0 /* UNUSED */
|
||||||
int lcp_echo_interval = 0; /* Interval between LCP echo-requests */
|
int lcp_echo_interval = 0; /* Interval between LCP echo-requests */
|
||||||
int lcp_echo_fails = 0; /* Tolerance to unanswered 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
|
#if PPP_LCP_ADAPTIVE
|
||||||
bool lcp_echo_adaptive = 0; /* request echo only if the link was idle */
|
bool lcp_echo_adaptive = 0; /* request echo only if the link was idle */
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user