diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2004-01-07 09:56:14 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2004-01-07 09:56:14 +0000 |
commit | 2691c0c6997ec2f3a33a5105ee9c454b4519aa19 (patch) | |
tree | 78624e9e7a852c2ebf873f8fe2928a448b9b2cab | |
parent | aec4e353be8234e88475826820ead44298a20dba (diff) |
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); |