Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/netinet Pull up revision 1.73 (requested by itojun):
details: https://anonhg.NetBSD.org/src/rev/b8745eae30b7
branches: netbsd-1-5
changeset: 490301:b8745eae30b7
user: he <he%NetBSD.org@localhost>
date: Wed Dec 13 21:24:57 2000 +0000
description:
Pull up revision 1.73 (requested by itojun):
Fix multicast inbound packet processing. Fixes PR#11629.
diffstat:
sys/netinet/udp_usrreq.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 63f256d29cb5 -r b8745eae30b7 sys/netinet/udp_usrreq.c
--- a/sys/netinet/udp_usrreq.c Wed Dec 13 21:19:13 2000 +0000
+++ b/sys/netinet/udp_usrreq.c Wed Dec 13 21:24:57 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udp_usrreq.c,v 1.66.4.1 2000/07/28 16:58:10 sommerfeld Exp $ */
+/* $NetBSD: udp_usrreq.c,v 1.66.4.2 2000/12/13 21:24:57 he Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -554,7 +554,7 @@
dst4 = &dst->sin_addr;
dport = &dst->sin_port;
- if (IN_MULTICAST(src4->s_addr) ||
+ if (IN_MULTICAST(dst4->s_addr) ||
in_broadcast(*dst4, m->m_pkthdr.rcvif)) {
struct inpcb *last;
/*
@@ -721,7 +721,7 @@
src4 = (struct in_addr *)&src->sin6_addr.s6_addr32[12];
if (IN6_IS_ADDR_MULTICAST(dst6)
- || (af == AF_INET && IN_MULTICAST(src4->s_addr))) {
+ || (af == AF_INET && IN_MULTICAST(dst4->s_addr))) {
struct in6pcb *last;
/*
* Deliver a multicast or broadcast datagram to *all* sockets
Home |
Main Index |
Thread Index |
Old Index