diff options
| author | sarita patra <saritap@vmware.com> | 2021-12-14 04:17:29 -0800 |
|---|---|---|
| committer | Mobashshera Rasool <mrasool@vmware.com> | 2022-01-10 21:10:29 -0800 |
| commit | d02ea60665e381c7fa598f9032bfbfb67ea6f2e2 (patch) | |
| tree | e5705188a85391fdbe9ea9dc8176700afd1b5b74 | |
| parent | d1257ae9e6ab1c523289e9f3a009f099d09b52a5 (diff) | |
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>
| -rw-r--r-- | pimd/pim_rpf.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <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) */ |
