summaryrefslogtreecommitdiff
path: root/pimd
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2021-12-14 02:02:48 -0800
committerMobashshera Rasool <mrasool@vmware.com>2022-01-10 21:10:29 -0800
commitb050b030e8362b7f508b89e8052fd76a1dbae60c (patch)
tree9d673fd6610194842b52d9af9d3c95b3d1f74d3d /pimd
parent5e8d3f4f5e99a6c9e92ca0a5b1f8ded2b6bf136b (diff)
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 <saritap@vmware.com> Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_igmp.h2
1 files changed, 1 insertions, 1 deletions
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;