From 19de48b9814b1cda9968a5320545a4c6bbd31d10 Mon Sep 17 00:00:00 2001 From: saravanank Date: Mon, 6 May 2019 20:04:54 -0700 Subject: [PATCH] pimd: Enable BSM processing on all interfaces by default set the flags for bsm processing and unicast bsm processing to true during pim interface creation --- pimd/pim_iface.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pimd/pim_iface.c b/pimd/pim_iface.c index 0fb7f176ce..08be38c138 100644 --- a/pimd/pim_iface.c +++ b/pimd/pim_iface.c @@ -132,6 +132,10 @@ struct pim_interface *pim_if_new(struct interface *ifp, bool igmp, bool pim, pim_ifp->igmp_specific_query_max_response_time_dsec = IGMP_SPECIFIC_QUERY_MAX_RESPONSE_TIME_DSEC; + /* BSM config on interface: TRUE by default */ + pim_ifp->bsm_enable = true; + pim_ifp->ucast_bsm_accept = true; + /* RFC 3376: 8.3. Query Response Interval The number of seconds represented by the [Query Response Interval]