pimd: Modifying in_addr to pim_addr in struct pim_nexthop for IPv6.

Changed struct in_addr last_lookup to struct PIM_ADDR last_lookup
which is to be used in both IPv4 and IPv6(Both MLD and IGMP).

Reviewed-by: Mobashshera Rasool <mrasool@vmware.com>
Signed-off-by: sarita patra <saritap@vmware.com>
This commit is contained in:
sarita patra 2021-12-14 04:17:29 -08:00 committed by Mobashshera Rasool
parent d1257ae9e6
commit d02ea60665

View File

@ -21,6 +21,7 @@
#define PIM_RPF_H
#include <zebra.h>
#include "pim_str.h"
/*
RFC 4601:
@ -35,7 +36,7 @@
units applicable to the unicast routing protocol used.
*/
struct pim_nexthop {
struct in_addr last_lookup;
pim_addr last_lookup;
long long last_lookup_time;
struct interface *interface; /* RPF_interface(S) */
struct prefix mrib_nexthop_addr; /* MRIB.next_hop(S) */