mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'bugfix/change_default_value_for_ip_ttl_4.4' into 'release/v4.4'
Fix(lwip):bugfix for change default value for ip ttl 4.4 See merge request espressif/esp-idf!28398
This commit is contained in:
@ -168,6 +168,13 @@ menu "LWIP"
|
|||||||
Enabling this option allows checking for the destination address
|
Enabling this option allows checking for the destination address
|
||||||
of a received IPv4 Packet.
|
of a received IPv4 Packet.
|
||||||
|
|
||||||
|
config LWIP_IP_DEFAULT_TTL
|
||||||
|
int "The value for Time-To-Live used by transport layers"
|
||||||
|
range 1 255
|
||||||
|
default 64
|
||||||
|
help
|
||||||
|
Set value for Time-To-Live used by transport layers.
|
||||||
|
|
||||||
config LWIP_IP4_FRAG
|
config LWIP_IP4_FRAG
|
||||||
bool "Enable fragment outgoing IP4 packets"
|
bool "Enable fragment outgoing IP4 packets"
|
||||||
default y
|
default y
|
||||||
|
@ -210,6 +210,11 @@ extern "C"
|
|||||||
*/
|
*/
|
||||||
#define IP_REASS_MAX_PBUFS 10
|
#define IP_REASS_MAX_PBUFS 10
|
||||||
|
|
||||||
|
/**
|
||||||
|
* IP_DEFAULT_TTL: Default value for Time-To-Live used by transport layers.
|
||||||
|
*/
|
||||||
|
#define IP_DEFAULT_TTL CONFIG_LWIP_IP_DEFAULT_TTL
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* IP_FORWARD==1: Enables the ability to forward IP packets across network
|
* IP_FORWARD==1: Enables the ability to forward IP packets across network
|
||||||
* interfaces. If you are going to run lwIP on a device with only one network
|
* interfaces. If you are going to run lwIP on a device with only one network
|
||||||
|
Reference in New Issue
Block a user