summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_icmp.c
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2018-07-18 22:49:53 +0000
committerRandall Stewart <rrs@FreeBSD.org>2018-07-18 22:49:53 +0000
commit8de9ac5eec3bd7a03fc363401ab64810a2b6e017 (patch)
tree7391dff8721e6b881bcbd3f91e8a79e134af063d /sys/netinet/ip_icmp.c
parent2168b18916fe20c060e3b6701a05bcebfc403386 (diff)
downloadsrc-test2-8de9ac5eec3bd7a03fc363401ab64810a2b6e017.tar.gz
src-test2-8de9ac5eec3bd7a03fc363401ab64810a2b6e017.zip
Notes
Diffstat (limited to 'sys/netinet/ip_icmp.c')
-rw-r--r--sys/netinet/ip_icmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index a657c59dda13..169b93753bb5 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -139,8 +139,8 @@ static VNET_DEFINE(int, icmp_rfi) = 0;
SYSCTL_INT(_net_inet_icmp, OID_AUTO, reply_from_interface, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(icmp_rfi), 0,
"ICMP reply from incoming interface for non-local packets");
-
-static VNET_DEFINE(int, icmp_quotelen) = 8;
+/* Router requirements RFC 1812 section 4.3.2.3 requires 576 - 28. */
+static VNET_DEFINE(int, icmp_quotelen) = 548;
#define V_icmp_quotelen VNET(icmp_quotelen)
SYSCTL_INT(_net_inet_icmp, OID_AUTO, quotelen, CTLFLAG_VNET | CTLFLAG_RW,
&VNET_NAME(icmp_quotelen), 0,