summaryrefslogtreecommitdiffstats
path: root/proto/bgp/bgp.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-05-31 15:24:27 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-05-31 15:24:27 +0200
commit23ac9e9a9eefe13918ee7f21a1d0f271a44d9efd (patch)
tree8216b9e5755798e342bf7a81dff03bc666ee97d9 /proto/bgp/bgp.c
parent23e563d86b412632644bdc4a886b0b7fb60e5175 (diff)
downloadbird-23ac9e9a9eefe13918ee7f21a1d0f271a44d9efd.tar
bird-23ac9e9a9eefe13918ee7f21a1d0f271a44d9efd.zip
Changes pipes to transfer all routes between routing table, not just optimal routes.
Diffstat (limited to 'proto/bgp/bgp.c')
-rw-r--r--proto/bgp/bgp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index cbc699b..b42ea30 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -753,6 +753,7 @@ bgp_init(struct proto_config *C)
struct proto *P = proto_new(C, sizeof(struct bgp_proto));
struct bgp_proto *p = (struct bgp_proto *) P;
+ P->accept_ra_types = RA_OPTIMAL;
P->rt_notify = bgp_rt_notify;
P->rte_better = bgp_rte_better;
P->import_control = bgp_import_control;