File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,13 @@ menu "LWIP"
161
161
Enabling this option allows checking for the destination address
162
162
of a received IPv4 Packet.
163
163
164
+ config LWIP_IP_DEFAULT_TTL
165
+ int "The value for Time-To-Live used by transport layers"
166
+ range 1 255
167
+ default 64
168
+ help
169
+ Set value for Time-To-Live used by transport layers.
170
+
164
171
config LWIP_IP4_FRAG
165
172
bool "Enable fragment outgoing IP4 packets"
166
173
default y
Original file line number Diff line number Diff line change @@ -235,6 +235,11 @@ extern "C" {
235
235
*/
236
236
#define IP_REASS_MAX_PBUFS 10
237
237
238
+ /**
239
+ * IP_DEFAULT_TTL: Default value for Time-To-Live used by transport layers.
240
+ */
241
+ #define IP_DEFAULT_TTL CONFIG_LWIP_IP_DEFAULT_TTL
242
+
238
243
/*
239
244
----------------------------------
240
245
---------- ICMP options ----------
You can’t perform that action at this time.
0 commit comments