From d1257ae9e6ab1c523289e9f3a009f099d09b52a5 Mon Sep 17 00:00:00 2001 From: sarita patra Date: Mon, 13 Dec 2021 06:03:31 -0800 Subject: [PATCH] pimd: Modifying in_addr to pim_addr in struct igmp_group for IPv6. Changed struct in_addr group_addr to struct PIM_ADDR group_addr in struct igmp_group which is to be used in both IPv4 and IPv6(Both MLD and IGMP). Reviewed-by: Mobashshera Rasool Signed-off-by: sarita patra --- pimd/pim_igmp.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pimd/pim_igmp.h b/pimd/pim_igmp.h index 2a818c068b..a3f470d8dc 100644 --- a/pimd/pim_igmp.h +++ b/pimd/pim_igmp.h @@ -175,8 +175,7 @@ struct gm_group { /* compatibility mode - igmp v1, v2 or v3 */ int igmp_version; - - struct in_addr group_addr; + pim_addr group_addr; int group_filtermode_isexcl; /* 0=INCLUDE, 1=EXCLUDE */ struct list *group_source_list; /* list of struct gm_source */ time_t group_creation; -- 2.39.5