summaryrefslogtreecommitdiff
path: root/proto/rip/rip.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/rip/rip.c
parent23e563d86b412632644bdc4a886b0b7fb60e5175 (diff)
Changes pipes to transfer all routes between routing table, not just optimal routes.
Diffstat (limited to 'proto/rip/rip.c')
-rw-r--r--proto/rip/rip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 12cc8783..ab417f01 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -946,6 +946,7 @@ rip_rte_remove(net *net UNUSED, rte *rte)
void
rip_init_instance(struct proto *p)
{
+ p->accept_ra_types = RA_OPTIMAL;
p->if_notify = rip_if_notify;
p->rt_notify = rip_rt_notify;
p->import_control = rip_import_control;