summaryrefslogtreecommitdiff
path: root/sys/netinet6/icmp6.c
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2004-02-04 11:23:16 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2004-02-04 11:23:16 +0000
commit0d803906e4428535a38bffb9ce1fd34c3649fa1b (patch)
treea082c129989e3d48608225094772f0e429ce6670 /sys/netinet6/icmp6.c
parentd9de5f2226d703d4c80ab409ee4952a65f926a38 (diff)
remove kludge now that proper IPV6_MMTU handling is in
Diffstat (limited to 'sys/netinet6/icmp6.c')
-rw-r--r--sys/netinet6/icmp6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index e5ad2728eab..af7732a806a 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: icmp6.c,v 1.78 2004/02/01 19:57:12 dhartmei Exp $ */
+/* $OpenBSD: icmp6.c,v 1.79 2004/02/04 11:23:15 dhartmei Exp $ */
/* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */
/*
@@ -1139,7 +1139,7 @@ icmp6_mtudisc_update(ip6cp, validated)
if (rt && (rt->rt_flags & RTF_HOST) &&
!(rt->rt_rmx.rmx_locks & RTV_MTU) &&
(rt->rt_rmx.rmx_mtu > mtu || rt->rt_rmx.rmx_mtu == 0)) {
- if (mtu >= 296 && mtu < IN6_LINKMTU(rt->rt_ifp)) {
+ if (mtu < IN6_LINKMTU(rt->rt_ifp)) {
icmp6stat.icp6s_pmtuchg++;
rt->rt_rmx.rmx_mtu = mtu;
}