summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-17 15:35:10 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-17 15:35:10 +0000
commitc87463830faa4cc3b817372cce447bd58c8b3bca (patch)
treef38e20c10b893556cc3f3e939f62c71affde6859 /usr.sbin
parent89eba8ea0738f611b1d2312b19ef10f3751f5a36 (diff)
actually update interface flags in if_change()
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/kroute.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c
index 4fb95b1837d..7012ff7ed70 100644
--- a/usr.sbin/bgpd/kroute.c
+++ b/usr.sbin/bgpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.69 2004/01/17 15:00:29 henning Exp $ */
+/* $OpenBSD: kroute.c,v 1.70 2004/01/17 15:35:09 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -804,6 +804,8 @@ if_change(u_short ifindex, int flags)
return;
}
+ kif->flags = flags;
+
LIST_FOREACH(kkr, &kif->kroute_l, entry) {
if (flags & IFF_UP)
kkr->kr->r.flags &= ~F_DOWN;