summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2000-01-04 10:38:36 +0000
committeritojun <itojun@openbsd.org>2000-01-04 10:38:36 +0000
commit166944b3a2ace5c80169a969e5fc7ded6f9b08fa (patch)
tree4d77e750798bb1cf7862813b2d1d088d58c561e0 /sys/netinet/udp_usrreq.c
parent'ssh @host' is illegal (null user name), from karsten@gedankenpolizei.de (diff)
downloadwireguard-openbsd-166944b3a2ace5c80169a969e5fc7ded6f9b08fa.tar.xz
wireguard-openbsd-166944b3a2ace5c80169a969e5fc7ded6f9b08fa.zip
keep paren match.
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 259ae54d31a..561d9bba850 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp_usrreq.c,v 1.35 2000/01/04 04:17:39 itojun Exp $ */
+/* $OpenBSD: udp_usrreq.c,v 1.36 2000/01/04 10:38:36 itojun Exp $ */
/* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */
/*
@@ -349,11 +349,12 @@ udp_input(m, va_alist)
#ifdef INET6
if ((ipv6 && IN6_IS_ADDR_MULTICAST(&ipv6->ip6_dst)) ||
(ip && IN_MULTICAST(ip->ip_dst.s_addr)) ||
- (ip && in_broadcast(ip->ip_dst, m->m_pkthdr.rcvif))) {
+ (ip && in_broadcast(ip->ip_dst, m->m_pkthdr.rcvif)))
#else /* INET6 */
if (IN_MULTICAST(ip->ip_dst.s_addr) ||
- in_broadcast(ip->ip_dst, m->m_pkthdr.rcvif)) {
+ in_broadcast(ip->ip_dst, m->m_pkthdr.rcvif))
#endif /* INET6 */
+ {
struct socket *last;
/*
* Deliver a multicast or broadcast datagram to *all* sockets