summaryrefslogtreecommitdiff
path: root/proto/rip
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-12-08 15:59:44 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-12-08 16:00:33 +0100
commit517d05dff17e881b880ee4fd28a72e827c10e8c3 (patch)
tree66b4286fe0ce69c77d39f7c5edc160dd273353a3 /proto/rip
parenteb95b5ec1a5c3bd4e57f3a134828f8de2875cb43 (diff)
Enable ECMP and Link detection by default
ECMP is not enabled on BSD, where it is not supported by BIRD.
Diffstat (limited to 'proto/rip')
-rw-r--r--proto/rip/config.Y2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/rip/config.Y b/proto/rip/config.Y
index e3bc4ae3..aff63f03 100644
--- a/proto/rip/config.Y
+++ b/proto/rip/config.Y
@@ -56,6 +56,7 @@ rip_proto_start: proto_start rip_variant
init_list(&RIP_CFG->patt_list);
RIP_CFG->rip2 = $2;
+ RIP_CFG->ecmp = rt_default_ecmp;
RIP_CFG->infinity = RIP_DEFAULT_INFINITY;
RIP_CFG->min_timeout_time = 60 S_;
RIP_CFG->max_garbage_time = 60 S_;
@@ -92,6 +93,7 @@ rip_iface_start:
RIP_IFACE->split_horizon = 1;
RIP_IFACE->poison_reverse = 1;
RIP_IFACE->check_zero = 1;
+ RIP_IFACE->check_link = 1;
RIP_IFACE->ttl_security = rip_cfg_is_v2() ? 0 : 1;
RIP_IFACE->rx_buffer = rip_cfg_is_v2() ? RIP_MAX_PKT_LENGTH : 0;
RIP_IFACE->tx_length = rip_cfg_is_v2() ? RIP_MAX_PKT_LENGTH : 0;