From 5e8d3f4f5e99a6c9e92ca0a5b1f8ded2b6bf136b Mon Sep 17 00:00:00 2001 From: Mobashshera Rasool Date: Mon, 13 Dec 2021 23:12:29 -0800 Subject: [PATCH] pimd: Modifying in_addr to pim_addr in igmp_join for IPv6. Changed struct in_addr source_addr to pim_addr source_addr in struct igmp_join 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pimd/pim_igmp.h b/pimd/pim_igmp.h index 0a7e0605a5..bc34266ccc 100644 --- a/pimd/pim_igmp.h +++ b/pimd/pim_igmp.h @@ -26,6 +26,7 @@ #include "vty.h" #include "linklist.h" #include "pim_igmp_stats.h" +#include "pim_str.h" /* The following sizes are likely to support @@ -76,8 +77,8 @@ } while (0) struct gm_join { - struct in_addr group_addr; - struct in_addr source_addr; + pim_addr group_addr; + pim_addr source_addr; int sock_fd; time_t sock_creation; };