summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_mroute.c
diff options
context:
space:
mode:
authorsuz <suz@FreeBSD.org>2002-12-16 01:41:07 +0000
committersuz <suz@FreeBSD.org>2002-12-16 01:41:07 +0000
commitbc79b3cffda97b855e70f8e13673114832145007 (patch)
tree8991d47c08acd42cb034337ba17572c908b91c44 /sys/netinet6/ip6_mroute.c
parente3017ca92520df761b5a66fe6ee75a12cc6c0c85 (diff)
downloadFreeBSD-src-bc79b3cffda97b855e70f8e13673114832145007.zip
FreeBSD-src-bc79b3cffda97b855e70f8e13673114832145007.tar.gz
fixed a bug that IPv6 multicast packet is not forwarded if its packet size is equal to the outgoing interface's MTU
Approved by: re Obtained from: KAME MFC after: 3 days
Diffstat (limited to 'sys/netinet6/ip6_mroute.c')
-rw-r--r--sys/netinet6/ip6_mroute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c
index ecb18c0..f1257d3 100644
--- a/sys/netinet6/ip6_mroute.c
+++ b/sys/netinet6/ip6_mroute.c
@@ -1476,7 +1476,7 @@ phyint_send(ip6, mifp, m)
* Put the packet into the sending queue of the outgoing interface
* if it would fit in the MTU of the interface.
*/
- if (mb_copy->m_pkthdr.len < ifp->if_mtu || ifp->if_mtu < IPV6_MMTU) {
+ if (mb_copy->m_pkthdr.len <= ifp->if_mtu || ifp->if_mtu < IPV6_MMTU) {
dst6->sin6_len = sizeof(struct sockaddr_in6);
dst6->sin6_family = AF_INET6;
dst6->sin6_addr = ip6->ip6_dst;
OpenPOWER on IntegriCloud