From b7ed98e9b6f5a0aad4e4659d458093c3d9c059d9 Mon Sep 17 00:00:00 2001 From: sarita patra Date: Tue, 14 Dec 2021 04:22:28 -0800 Subject: [PATCH] pimd: Modifying in_addr to pim_addr in struct pim_upstream for IPv6. Changed struct in_addr upstream_addr and struct in_addr upstream_register to struct PIM_ADDR upstream_addr and struct PIM_ADDR upstream_register which are to be used in both IPv4 and IPv6(Both MLD and IGMP). Reviewed-by: Mobashshera Rasool Signed-off-by: sarita patra --- pimd/pim_upstream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pimd/pim_upstream.h b/pimd/pim_upstream.h index ea3b564f8a..b4469ad329 100644 --- a/pimd/pim_upstream.h +++ b/pimd/pim_upstream.h @@ -229,8 +229,8 @@ struct pim_upstream { struct pim_instance *pim; struct rb_pim_upstream_item upstream_rb; struct pim_upstream *parent; - struct in_addr upstream_addr; /* Who we are talking to */ - struct in_addr upstream_register; /*Who we received a register from*/ + pim_addr upstream_addr; /* Who we are talking to */ + pim_addr upstream_register; /*Who we received a register from*/ struct prefix_sg sg; /* (S,G) group key */ char sg_str[PIM_SG_LEN]; uint32_t flags;