diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-24 13:49:22 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-24 13:49:22 +0000 |
commit | c27d09fdedaf76ab335a3a3f09cc6f5bef62503b (patch) | |
tree | d2802840449119b8a08620a3ae5dafbc44897f5c /usr.sbin/bgpd/rde.c | |
parent | b9f919ad8e4bd53a01b04a664c619a8833fe4eea (diff) |
add option to not touch the kernel routing table
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r-- | usr.sbin/bgpd/rde.c | 5 |
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; |