summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-06-29 14:10:14 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-06-29 14:10:14 +0000
commit37e56b6c697496cf0243fccf185fe1d0ea763f94 (patch)
treea1a1906f179199f9d5afa005ec0225dc0aa8b857
parentc55e8df8a228f24894196fd84f201530d5608460 (diff)
Doh! Fix logic botch that disconnected the FIB from the Loc-RIB instead of
making sure that other RIBs are not injecting routes into the FIB.
-rw-r--r--usr.sbin/bgpd/rde_decide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde_decide.c b/usr.sbin/bgpd/rde_decide.c
index 2d8b3cd0bc3..2a94aa9a327 100644
--- a/usr.sbin/bgpd/rde_decide.c
+++ b/usr.sbin/bgpd/rde_decide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_decide.c,v 1.57 2009/06/06 01:07:01 claudio Exp $ */
+/* $OpenBSD: rde_decide.c,v 1.58 2009/06/29 14:10:13 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org>
@@ -262,7 +262,7 @@ prefix_evaluate(struct prefix *p, struct rib_entry *re)
* Additional decision may be made by the called functions.
*/
rde_generate_updates(re->ribid, xp, re->active);
- if (re->flags & F_RIB_NOFIB)
+ if ((re->flags & F_RIB_NOFIB) == 0)
rde_send_kroute(xp, re->active);
re->active = xp;