From f2ee621b4338cbf983aaeebfe1e15d16a47ab894 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Mon, 28 Nov 2005 15:27:20 +0000 Subject: more breakage --- sys/net/route.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/route.c b/sys/net/route.c index 4f43d6a2607..1483205ba9a 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.60 2005/11/28 15:19:20 markus Exp $ */ +/* $OpenBSD: route.c,v 1.61 2005/11/28 15:27:19 markus Exp $ */ /* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */ /* @@ -576,7 +576,7 @@ ifa_ifwithroute(int flags, struct sockaddr *dst, struct sockaddr *gateway) if (ifa->ifa_addr->sa_family != dst->sa_family) { struct ifaddr *oifa = ifa; - if ((ifa = ifaof_ifpforaddr(dst, ifa->ifa_ifp)) == NULL); + if ((ifa = ifaof_ifpforaddr(dst, ifa->ifa_ifp)) == NULL) ifa = oifa; } return (ifa); -- cgit v1.2.3