Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163272899
D54537.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
708 B
Referenced Files
None
Subscribers
None
D54537.diff
View Options
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -137,11 +137,11 @@
&VNET_NAME(log_redirect), 0,
"Log ICMP redirects to the console");
-VNET_DEFINE_STATIC(int, redirtimeout) = 60 * 10; /* 10 minutes */
+VNET_DEFINE_STATIC(int, redirtimeout) = ICMP_REDIRECT_DEFAULT_TIMEOUT;
#define V_redirtimeout VNET(redirtimeout)
SYSCTL_INT(_net_inet_icmp, OID_AUTO, redirtimeout, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(redirtimeout), 0,
- "Delay in seconds before expiring redirect route");
+ "Delay in seconds before expiring ICMP redirect route");
VNET_DEFINE_STATIC(char, reply_src[IFNAMSIZ]);
#define V_reply_src VNET(reply_src)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 22, 3:30 PM (1 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35369767
Default Alt Text
D54537.diff (708 B)
Attached To
Mode
D54537: netinet: Use ICMP_REDIRECT_DEFAULT_TIMEOUT for redirtimeout and clarify sysctl description
Attached
Detach File
Event Timeline
Log In to Comment