summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>1997-07-11 23:43:00 +0000
committerprovos <provos@openbsd.org>1997-07-11 23:43:00 +0000
commitb040f498e158802899f409a07ef2bbb5172f1eb5 (patch)
treebb5195a3de4100307371c2d6d8fccf63b6074328
parentput old esp/ah and new esp/ah in different files. (diff)
downloadwireguard-openbsd-b040f498e158802899f409a07ef2bbb5172f1eb5.tar.xz
wireguard-openbsd-b040f498e158802899f409a07ef2bbb5172f1eb5.zip
argh. commited wrong file
-rw-r--r--sys/net/if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index e69d74c8f7d..71209100153 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.13 1997/07/11 23:37:52 provos Exp $ */
+/* $OpenBSD: if.c,v 1.14 1997/07/11 23:43:00 provos Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -229,7 +229,7 @@ ifa_ifwithnet(addr)
for (ifa = ifp->if_addrlist.tqh_first; ifa != 0; ifa = ifa->ifa_list.tqe_next) {
register char *cp, *cp2, *cp3;
- if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != af ||
+ if (ifa->ifa_addr->sa_family != af ||
ifa->ifa_netmask == 0)
next: continue;
cp = addr_data;