diff options
author | sarita patra <saritap@vmware.com> | 2022-04-07 07:34:38 +0200 |
---|---|---|
committer | sarita patra <saritap@vmware.com> | 2022-04-07 07:34:38 +0200 |
commit | a1bc5746a955903a893f9cbbc98d6885068072c6 (patch) | |
tree | f481123a255ac2d88083251c979d483400f2cbb6 /pimd/pim_rpf.h | |
parent | Merge pull request #10971 from opensourcerouting/fix/rpki_nits (diff) | |
download | frr-a1bc5746a955903a893f9cbbc98d6885068072c6.tar.xz frr-a1bc5746a955903a893f9cbbc98d6885068072c6.zip |
pim6d: modify mrib_nexthop_addr from prefix to pim_addr
Currently mrib_nexthop_addr is of type struct prefix, but it's always
a /32 host prefix. So changing it to pim_addr in order to support both
IPV4 and IPV6.
Signed-off-by: sarita patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_rpf.h')
-rw-r--r-- | pimd/pim_rpf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_rpf.h b/pimd/pim_rpf.h index 74aca43d5..40cd066bd 100644 --- a/pimd/pim_rpf.h +++ b/pimd/pim_rpf.h @@ -39,7 +39,7 @@ struct pim_nexthop { pim_addr last_lookup; long long last_lookup_time; struct interface *interface; /* RPF_interface(S) */ - struct prefix mrib_nexthop_addr; /* MRIB.next_hop(S) */ + pim_addr mrib_nexthop_addr; /* MRIB.next_hop(S) */ uint32_t mrib_metric_preference; /* MRIB.pref(S) */ uint32_t mrib_route_metric; /* MRIB.metric(S) */ struct pim_neighbor *nbr; |