summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-02-25 04:53:10 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-02-25 04:53:10 +0000
commitc88bd8f698dee39b21d0963b9af8948f1e7d978e (patch)
tree5808728a8aa03af1e6d5e5a4d38e326c69b91322 /sys/netinet
parent8852002e7b34d24cf92393ceff8a1085f073edfe (diff)
Pay attention.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
index a452495ee9e..c7d0311a383 100644
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.c,v 1.4 1998/02/25 03:45:14 angelos Exp $ */
+/* $OpenBSD: in.c,v 1.5 1998/02/25 04:53:09 angelos Exp $ */
/* $NetBSD: in.c,v 1.26 1996/02/13 23:41:39 christos Exp $ */
/*
@@ -458,7 +458,7 @@ in_broadcast(in, ifp)
* If ifp is NULL, check against all the local interfaces.
*/
for (ifn = if_first; ifn != if_target; ifn = ifn->if_list.tqe_next)
- for (ifa = ifp->if_addrlist.tqh_first; ifa;
+ for (ifa = ifn->if_addrlist.tqh_first; ifa;
ifa = ifa->ifa_list.tqe_next)
if (ifa->ifa_addr->sa_family == AF_INET &&
(in.s_addr == ia->ia_broadaddr.sin_addr.s_addr ||