From b050b030e8362b7f508b89e8052fd76a1dbae60c Mon Sep 17 00:00:00 2001 From: Mobashshera Rasool Date: Tue, 14 Dec 2021 02:02:48 -0800 Subject: [PATCH] pimd: Modifying in_addr to pim_addr in igmp_source for IPv6. Changed struct in_addr source_addr to pim_addr source_addr in struct igmp_source which is to be used in both IPv4 and IPv6(Both MLD and IGMP). Reviewed-by: Sarita Patra Signed-off-by: Mobashshera Rasool --- pimd/pim_igmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pimd/pim_igmp.h b/pimd/pim_igmp.h index bc34266ccc..5fd4fdb32c 100644 --- a/pimd/pim_igmp.h +++ b/pimd/pim_igmp.h @@ -140,7 +140,7 @@ int igmp_validate_checksum(char *igmp_msg, int igmp_msg_len); #define IGMP_SOURCE_DONT_SEND(flags) ((flags) &= ~IGMP_SOURCE_MASK_SEND) struct gm_source { - struct in_addr source_addr; + pim_addr source_addr; struct thread *t_source_timer; struct gm_group *source_group; /* back pointer */ time_t source_creation;