summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r--usr.sbin/bgpd/rde.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 16af16b34e0..0aa56bd147c 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.24 2003/12/24 13:28:02 henning Exp $ */
+/* $OpenBSD: rde.c,v 1.25 2003/12/24 13:49:21 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -516,6 +516,9 @@ rde_send_kroute(struct prefix *new, struct prefix *old)
struct prefix *p;
enum imsg_type type;
+ if (conf->flags & BGPD_FLAG_NO_FIB_UPDATE)
+ return;
+
if (old == NULL && new == NULL)
return;