summaryrefslogtreecommitdiff
path: root/sys/net/route.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-02-09 16:31:15 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-02-09 16:31:15 +0000
commit7e81f6b4ab8d0ee488afcd022730b1bf49ef7b75 (patch)
tree00cc06bbe34890577f088dea7ab7e4db5d86a290 /sys/net/route.c
parent43b4c81c86e26b76534d4c78da506f0f2db80ffb (diff)
Correctly track RTF_UP on RTM_CHANGE. Since the interface can change
rt_if_linkstate_change() needs to be rerun for this route and the resulting rt_flags need to copied to the rtm_flags for userland. Problem found and diagnosed by Doran Mori. OK henning@, jsing@
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 9a798e2fbf3..9bea0705605 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.114 2009/11/03 10:59:04 claudio Exp $ */
+/* $OpenBSD: route.c,v 1.115 2010/02/09 16:31:14 claudio Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -152,9 +152,6 @@ int okaytoclone(u_int, int);
int rtflushclone1(struct radix_node *, void *);
void rtflushclone(struct radix_node_head *, struct rtentry *);
int rt_if_remove_rtdelete(struct radix_node *, void *);
-#ifndef SMALL_KERNEL
-int rt_if_linkstate_change(struct radix_node *, void *);
-#endif
#define LABELID_MAX 50000