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.74 (requested by hubertf):



details:   https://anonhg.NetBSD.org/src/rev/f5b6aed9840b
branches:  netbsd-1-5
changeset: 490362:f5b6aed9840b
user:      he <he%NetBSD.org@localhost>
date:      Fri Dec 15 03:29:16 2000 +0000

description:
Pull up revision 1.74 (requested by hubertf):
  Fix multicast inbound packet processing.  Fixes PR#11629.
  (Required continuation of previous pullup.)

diffstat:

 sys/netinet/udp_usrreq.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 34f24cb8fed3 -r f5b6aed9840b sys/netinet/udp_usrreq.c
--- a/sys/netinet/udp_usrreq.c  Fri Dec 15 03:23:37 2000 +0000
+++ b/sys/netinet/udp_usrreq.c  Fri Dec 15 03:29:16 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: udp_usrreq.c,v 1.66.4.2 2000/12/13 21:24:57 he Exp $   */
+/*     $NetBSD: udp_usrreq.c,v 1.66.4.3 2000/12/15 03:29:16 he Exp $   */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -703,7 +703,7 @@
        u_int16_t *sport, *dport;
        int rcvcnt;
        struct in6_addr *src6, *dst6;
-       struct in_addr *src4;
+       struct in_addr *dst4;
        struct in6pcb *in6p;
 
        rcvcnt = 0;
@@ -718,7 +718,7 @@
        sport = &src->sin6_port;
        dst6 = &dst->sin6_addr;
        dport = &dst->sin6_port;
-       src4 = (struct in_addr *)&src->sin6_addr.s6_addr32[12];
+       dst4 = (struct in_addr *)&dst->sin6_addr.s6_addr32[12];
 
        if (IN6_IS_ADDR_MULTICAST(dst6)
         || (af == AF_INET && IN_MULTICAST(dst4->s_addr))) {



Home | Main Index | Thread Index | Old Index