mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 14:17:20 +00:00
pimd: Disable receiving BSM on passive interface
Signed-off-by: sarita patra <saritap@vmware.com>
This commit is contained in:
parent
c473c7452a
commit
fd3eb43d76
@ -1300,6 +1300,14 @@ int pim_bsm_process(struct interface *ifp, pim_sgaddr *sg, uint8_t *buf,
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (pim_ifp->pim_passive_enable) {
|
||||
if (PIM_DEBUG_PIM_PACKETS)
|
||||
zlog_debug(
|
||||
"skip receiving PIM message on passive interface %s",
|
||||
ifp->name);
|
||||
return 0;
|
||||
}
|
||||
|
||||
pim_ifp->pim_ifstat_bsm_rx++;
|
||||
pim = pim_ifp->pim;
|
||||
pim->bsm_rcvd++;
|
||||
|
Loading…
Reference in New Issue
Block a user