Merge branch 'bugfix/lwip_ppp_echo_interval_config' into 'master'

lw-IP: added configuration values for echo interval

Closes IDFGH-3098

See merge request espressif/esp-idf!12487
This commit is contained in:
David Čermák
2021-03-18 11:59:07 +00:00
2 changed files with 35 additions and 1 deletions

View File

@@ -738,7 +738,23 @@
#define PPP_DEBUG LWIP_DBG_OFF
#endif
#endif
#endif /* PPP SUPPORT */
/*
------------------------------------
--------- LCP Echo options ---------
------------------------------------
*/
/**
* LCP_ECHOINTERVAL: Interval in seconds between keepalive LCP echo requests, 0 to disable.
*/
#define LCP_ECHOINTERVAL CONFIG_LCP_ECHOINTERVAL
/**
* LCP_MAXECHOFAILS: Number of consecutive unanswered echo requests before failure is indicated.
*/
#define LCP_MAXECHOFAILS CONFIG_LCP_MAXECHOFAILS
/*
--------------------------------------