summaryrefslogtreecommitdiff
path: root/sys/netinet6/udp6_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/udp6_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/udp6_output.c')
-rw-r--r--sys/netinet6/udp6_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/udp6_output.c b/sys/netinet6/udp6_output.c
index c51cd703b10..98a042dbbf4 100644
--- a/sys/netinet6/udp6_output.c
+++ b/sys/netinet6/udp6_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp6_output.c,v 1.5 2001/12/06 04:19:26 itojun Exp $ */
+/* $OpenBSD: udp6_output.c,v 1.6 2002/05/29 23:38:58 itojun Exp $ */
/* $KAME: udp6_output.c,v 1.21 2001/02/07 11:51:54 itojun Exp $ */
/*
@@ -264,7 +264,7 @@ udp6_output(in6p, m, addr6, control)
}
flags = 0;
-#ifdef IPV6_MINMTU
+#ifdef IN6P_MINMTU
if (in6p->in6p_flags & IN6P_MINMTU)
flags |= IPV6_MINMTU;
#endif