diff options
author | 2004-01-07 09:56:13 +0000 | |
---|---|---|
committer | 2004-01-07 09:56:13 +0000 | |
commit | d54812cd212726de1ab93b5be77cf8ae7164103b (patch) | |
tree | dd31111717f2b79113a556a90bf667ef515ae51d | |
parent | cleanup obsolete comment from NRL code. markus ok (diff) | |
download | wireguard-openbsd-d54812cd212726de1ab93b5be77cf8ae7164103b.tar.xz wireguard-openbsd-d54812cd212726de1ab93b5be77cf8ae7164103b.zip |
in_pcbnotify() now returns number of matches.
-rw-r--r-- | sys/netinet/udp_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 1658f4ebe2d..61599b8c37c 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp_usrreq.c,v 1.96 2003/12/21 14:57:19 markus Exp $ */ +/* $OpenBSD: udp_usrreq.c,v 1.97 2004/01/07 09:56:13 markus Exp $ */ /* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */ /* @@ -881,7 +881,7 @@ udp_ctlinput(cmd, sa, v) return NULL; if (ip) { uhp = (struct udphdr *)((caddr_t)ip + (ip->ip_hl << 2)); - in_pcbnotify(&udbtable, sa, uhp->uh_dport, ip->ip_src, + (void) in_pcbnotify(&udbtable, sa, uhp->uh_dport, ip->ip_src, uhp->uh_sport, errno, notify); } else in_pcbnotifyall(&udbtable, sa, errno, notify); |