From 517d05dff17e881b880ee4fd28a72e827c10e8c3 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Fri, 8 Dec 2017 15:59:44 +0100 Subject: Enable ECMP and Link detection by default ECMP is not enabled on BSD, where it is not supported by BIRD. --- proto/ospf/config.Y | 2 ++ 1 file changed, 2 insertions(+) (limited to 'proto/ospf/config.Y') 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; -- cgit v1.2.3