Corrected an argument to in6_pcbnotify().
Obtained from: KAME MFC after: 1 week
This commit is contained in:
parent
c5993889d8
commit
0e371878c8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user