summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsaravanank <saravanank@vmware.com>2019-05-06 20:04:54 -0700
committersaravanank <saravanank@vmware.com>2019-05-14 21:42:22 -0700
commit19de48b9814b1cda9968a5320545a4c6bbd31d10 (patch)
tree47ecf756e38f67d5292a0fc72b6c34362405abf1
parent6b5062cdd7c4306934d87ec974f06f58151f7fda (diff)
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
-rw-r--r--pimd/pim_iface.c4
1 files changed, 4 insertions, 0 deletions
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]