summaryrefslogtreecommitdiff
path: root/pimd/pim_igmpv2.c
diff options
context:
space:
mode:
authorSai Gomathi N <nsaigomathi@vmware.com>2022-09-02 04:00:10 -0700
committerSai Gomathi N <nsaigomathi@vmware.com>2022-09-04 22:46:09 -0700
commit95b13dc51281ea2410a0841919a74a90e3dae373 (patch)
tree9ad57eace46dac1da429b0ee43818008cae78942 /pimd/pim_igmpv2.c
parent7139b1aeaef96534b3e1997eccc28a6ca79bdf43 (diff)
pimd,pim6d: Modifying IGMP to GM in PIM_DEBUG_IGMP_EVENTS to PIM_DEBUG_GM_EVENTS
Changing the macros to common so that it can be used for pimv6 debugs as well to be used for both IGMP and MLD debugs. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
Diffstat (limited to 'pimd/pim_igmpv2.c')
-rw-r--r--pimd/pim_igmpv2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_igmpv2.c b/pimd/pim_igmpv2.c
index 8d0925cb56..9df75518d8 100644
--- a/pimd/pim_igmpv2.c
+++ b/pimd/pim_igmpv2.c
@@ -237,7 +237,7 @@ int igmp_v2_recv_leave(struct gm_sock *igmp, struct ip *ip_hdr,
*/
if ((ntohl(ip_hdr->ip_dst.s_addr) != INADDR_ALLRTRS_GROUP)
&& (ip_hdr->ip_dst.s_addr != group_addr.s_addr)) {
- if (PIM_DEBUG_IGMP_EVENTS)
+ if (PIM_DEBUG_GM_EVENTS)
zlog_debug(
"IGMPv2 Leave message is ignored since received on address other than ALL-ROUTERS or Group-address");
return -1;