Skip to content

Commit

Permalink
pimd: Modifying in_addr to PIM_ADDR in igmp_source for IPv6.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mobash-rasool committed Dec 14, 2021
1 parent 9c576a2 commit 26f8684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pimd/pim_igmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ int igmp_validate_checksum(char *igmp_msg, int igmp_msg_len);
#define IGMP_SOURCE_DONT_SEND(flags) ((flags) &= ~IGMP_SOURCE_MASK_SEND)

struct igmp_source {
struct in_addr source_addr;
struct PIM_ADDR source_addr;
struct thread *t_source_timer;
struct igmp_group *source_group; /* back pointer */
time_t source_creation;
Expand Down

0 comments on commit 26f8684

Please sign in to comment.