artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fac399c
)
Only check for rt_ifp now that it is alays the same as rt_ifa->ifa_ifp.
author
mpi
<mpi@openbsd.org>
Thu, 22 Oct 2015 16:49:26 +0000
(16:49 +0000)
committer
mpi
<mpi@openbsd.org>
Thu, 22 Oct 2015 16:49:26 +0000
(16:49 +0000)
ok millert@, bluhm@
sys/net/route.c
patch
|
blob
|
history
diff --git
a/sys/net/route.c
b/sys/net/route.c
index
9af588c
..
c71cc91
100644
(file)
--- a/
sys/net/route.c
+++ b/
sys/net/route.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: route.c,v 1.25
6 2015/10/22 16:32:41
mpi Exp $ */
+/* $OpenBSD: route.c,v 1.25
7 2015/10/22 16:49:26
mpi Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@
-1653,8
+1653,7
@@
rt_if_linkstate_change(struct rtentry *rt, void *arg, u_int id)
{
struct ifnet *ifp = arg;
- if ((rt->rt_ifp != ifp) &&
- (rt->rt_ifa == NULL || rt->rt_ifa->ifa_ifp != ifp))
+ if (rt->rt_ifp != ifp)
return (0);
/* Local routes are always usable. */