diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-08 15:59:44 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-08 16:00:33 +0100 |
commit | 517d05dff17e881b880ee4fd28a72e827c10e8c3 (patch) | |
tree | 66b4286fe0ce69c77d39f7c5edc160dd273353a3 /proto/ospf | |
parent | eb95b5ec1a5c3bd4e57f3a134828f8de2875cb43 (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/ospf')
-rw-r--r-- | proto/ospf/config.Y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y index 98ddf5d0..04d5e2e9 100644 --- a/proto/ospf/config.Y +++ b/proto/ospf/config.Y @@ -219,6 +219,7 @@ ospf_proto_start: proto_start ospf_variant init_list(&OSPF_CFG->area_list); init_list(&OSPF_CFG->vlink_list); + OSPF_CFG->ecmp = rt_default_ecmp; OSPF_CFG->tick = OSPF_DEFAULT_TICK; OSPF_CFG->ospf2 = $2; OSPF_CFG->af_ext = !$2; @@ -461,6 +462,7 @@ ospf_iface_start: OSPF_PATT->deadc = DEADC_D; OSPF_PATT->type = OSPF_IT_UNDEF; init_list(&OSPF_PATT->nbma_list); + OSPF_PATT->check_link = 1; OSPF_PATT->ptp_netmask = 2; /* not specified */ OSPF_PATT->tx_tos = IP_PREC_INTERNET_CONTROL; OSPF_PATT->tx_priority = sk_priority_control; |