From d02ea60665e381c7fa598f9032bfbfb67ea6f2e2 Mon Sep 17 00:00:00 2001 From: sarita patra Date: Tue, 14 Dec 2021 04:17:29 -0800 Subject: [PATCH] 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 Signed-off-by: sarita patra --- pimd/pim_rpf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pimd/pim_rpf.h b/pimd/pim_rpf.h index 006aa1b636..d6a8880ffb 100644 --- a/pimd/pim_rpf.h +++ b/pimd/pim_rpf.h @@ -21,6 +21,7 @@ #define PIM_RPF_H #include +#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) */ -- 2.39.5