mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 21:54:33 +02:00
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:
@@ -777,6 +777,24 @@ menu "LWIP"
|
|||||||
|
|
||||||
endmenu # SNTP
|
endmenu # SNTP
|
||||||
|
|
||||||
|
menu "LCP"
|
||||||
|
|
||||||
|
config LCP_ECHOINTERVAL
|
||||||
|
int "Echo interval (s)"
|
||||||
|
range 0 1000000
|
||||||
|
default 0
|
||||||
|
help
|
||||||
|
Interval in seconds between keepalive LCP echo requests, 0 to disable.
|
||||||
|
|
||||||
|
config LCP_MAXECHOFAILS
|
||||||
|
int "Maximum echo failures"
|
||||||
|
range 0 100000
|
||||||
|
default 3
|
||||||
|
help
|
||||||
|
Number of consecutive unanswered echo requests before failure is indicated.
|
||||||
|
|
||||||
|
endmenu # LCP
|
||||||
|
|
||||||
config LWIP_ESP_LWIP_ASSERT
|
config LWIP_ESP_LWIP_ASSERT
|
||||||
bool "Enable LWIP ASSERT checks"
|
bool "Enable LWIP ASSERT checks"
|
||||||
default y
|
default y
|
||||||
|
@@ -738,7 +738,23 @@
|
|||||||
#define PPP_DEBUG LWIP_DBG_OFF
|
#define PPP_DEBUG LWIP_DBG_OFF
|
||||||
#endif
|
#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
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
Reference in New Issue
Block a user