diff --git a/pimd/pim_hello.c b/pimd/pim_hello.c index a2f68acc78..833103c27f 100644 --- a/pimd/pim_hello.c +++ b/pimd/pim_hello.c @@ -125,6 +125,14 @@ int pim_hello_recv(struct interface *ifp, pim_addr src_addr, uint8_t *tlv_buf, pim_ifp = ifp->info; assert(pim_ifp); + 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_hello_recv; /*