summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;