diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-06-29 14:10:14 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-06-29 14:10:14 +0000 |
commit | 37e56b6c697496cf0243fccf185fe1d0ea763f94 (patch) | |
tree | a1a1906f179199f9d5afa005ec0225dc0aa8b857 /usr.sbin/bgpd/rde_decide.c | |
parent | c55e8df8a228f24894196fd84f201530d5608460 (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.
Diffstat (limited to 'usr.sbin/bgpd/rde_decide.c')
-rw-r--r-- | usr.sbin/bgpd/rde_decide.c | 4 |
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; |