Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet more on previous (udp4 multicast fix)



details:   https://anonhg.NetBSD.org/src/rev/561d6dde3344
branches:  trunk
changeset: 500050:561d6dde3344
user:      itojun <itojun%NetBSD.org@localhost>
date:      Mon Dec 04 11:24:20 2000 +0000

description:
more on previous (udp4 multicast fix)

diffstat:

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

diffs (27 lines):

diff -r 3e1fa6de3fc8 -r 561d6dde3344 sys/netinet/udp_usrreq.c
--- a/sys/netinet/udp_usrreq.c  Mon Dec 04 11:23:04 2000 +0000
+++ b/sys/netinet/udp_usrreq.c  Mon Dec 04 11:24:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: udp_usrreq.c,v 1.73 2000/12/04 11:23:04 itojun Exp $   */
+/*     $NetBSD: udp_usrreq.c,v 1.74 2000/12/04 11:24:20 itojun Exp $   */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -704,7 +704,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;
@@ -719,7 +719,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