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
This commit is contained in:
saravanank 2019-05-06 20:04:54 -07:00
parent 6b5062cdd7
commit 19de48b981

View File

@ -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]