summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_output.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-29 23:38:59 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-29 23:38:59 +0000
commitb15f1f564edcf7e5bcb88113af1b6e423317cb23 (patch)
tree335e2ac849d689d70e0684714aaefc5bf713bd1b /sys/netinet6/ip6_output.c
parent0032facd76a29678d292fb4eb19a4b7800a3b3cf (diff)
force fragment to minimum link MTU (1280) when needed (when PMTUD does
not take effect) - like icmp6 responses or foo-over-IPv6 tunnel.
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-rw-r--r--sys/netinet6/ip6_output.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index a6a5b470f88..e1038027cb7 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_output.c,v 1.59 2002/05/29 07:54:59 itojun Exp $ */
+/* $OpenBSD: ip6_output.c,v 1.60 2002/05/29 23:38:58 itojun Exp $ */
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
@@ -713,12 +713,10 @@ ip6_output(m0, opt, ro, flags, im6o, ifpp)
* The caller of this function may specify to use the minimum MTU
* in some cases.
*/
-#ifdef IPV6_MINMTU
if (mtu > IPV6_MMTU) {
if ((flags & IPV6_MINMTU))
mtu = IPV6_MMTU;
}
-#endif
/* Fake scoped addresses */
if ((ifp->if_flags & IFF_LOOPBACK) != 0) {