From 0e371878c81d1663ae4332f2cedd06ad8900a836 Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Mon, 4 Feb 2002 17:40:36 +0000 Subject: [PATCH] Corrected an argument to in6_pcbnotify(). Obtained from: KAME MFC after: 1 week --- sys/netinet6/udp6_usrreq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c index a8140c194d8..a1842105693 100644 --- a/sys/netinet6/udp6_usrreq.c +++ b/sys/netinet6/udp6_usrreq.c @@ -449,10 +449,11 @@ udp6_ctlinput(cmd, sa, d) bzero(&uh, sizeof(uh)); m_copydata(m, off, sizeof(*uhp), (caddr_t)&uh); - (void) in6_pcbnotify(&udb, sa, uh.uh_dport, ip6cp->ip6c_src, + (void) in6_pcbnotify(&udb, sa, uh.uh_dport, + (struct sockaddr *)ip6cp->ip6c_src, uh.uh_sport, cmd, notify); } else - (void) in6_pcbnotify(&udb, sa, 0, (struct sockaddr *)&sa6_src, + (void) in6_pcbnotify(&udb, sa, 0, (struct sockaddr *)sa6_src, 0, cmd, notify); }