diff options
author | Mobashshera Rasool <mrasool@vmware.com> | 2021-12-14 07:20:37 +0100 |
---|---|---|
committer | Mobashshera Rasool <mrasool@vmware.com> | 2022-01-11 06:10:24 +0100 |
commit | b85201d5cde1ad28fba70517ab4a33063fba1ae0 (patch) | |
tree | a8e7e023c97831105f49f1a7f3337f64c28be9b4 /pimd/pim_assert.h | |
parent | pimd: API changes to accomodate IPv4 and IPv6 (diff) | |
download | frr-b85201d5cde1ad28fba70517ab4a33063fba1ae0.tar.xz frr-b85201d5cde1ad28fba70517ab4a33063fba1ae0.zip |
pimd: Modifying in_addr to pim_addr in struct pim_ifchannel for IPv6.
Changed struct in_addr ifassert_winner to pim_addr
which will 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/pim_assert.h')
-rw-r--r-- | pimd/pim_assert.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pim_assert.h b/pimd/pim_assert.h index c07cbeb01..2e6e62cc3 100644 --- a/pimd/pim_assert.h +++ b/pimd/pim_assert.h @@ -55,8 +55,7 @@ struct pim_assert_metric { #define PIM_ASSERT_ROUTE_METRIC_MAX (0xFFFFFFFF) void pim_ifassert_winner_set(struct pim_ifchannel *ch, - enum pim_ifassert_state new_state, - struct in_addr winner, + enum pim_ifassert_state new_state, pim_addr winner, struct pim_assert_metric winner_metric); int pim_assert_recv(struct interface *ifp, struct pim_neighbor *neigh, |