summaryrefslogtreecommitdiff
path: root/sys/netinet6/udp6_usrreq.c
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2002-02-04 17:40:36 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2002-02-04 17:40:36 +0000
commit0e371878c81d1663ae4332f2cedd06ad8900a836 (patch)
tree5f41bca53b465b407f78ce1df67c5a2512f37cdd /sys/netinet6/udp6_usrreq.c
parentc5993889d8c73a0c393532b34d260febaeb8d9b8 (diff)
Notes
Diffstat (limited to 'sys/netinet6/udp6_usrreq.c')
-rw-r--r--sys/netinet6/udp6_usrreq.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index a8140c194d8e..a18421056935 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);
}