diff options
author | Nathan Bahr <nbahr@atcorp.com> | 2024-09-24 21:57:46 +0200 |
---|---|---|
committer | Nathan Bahr <nbahr@atcorp.com> | 2024-12-12 14:50:31 +0100 |
commit | 4250eae00dab6cefea3c8a38a8e113069289c54f (patch) | |
tree | 66a839c3ce1dd350d018b7f6446f892ae0a56925 /lib | |
parent | Merge pull request #17636 from opensourcerouting/msdp-cleanup (diff) | |
download | frr-4250eae00dab6cefea3c8a38a8e113069289c54f.tar.xz frr-4250eae00dab6cefea3c8a38a8e113069289c54f.zip |
zebra,pimd,lib: Modify ZEBRA_NEXTHOP_LOOKUP_MRIB
Modified ZEBRA_NEXTHOP_LOOKUP_MRIB to include the SAFI from which to do the lookup.
This generalizes the API away from MRIB specifically and allows the user to decide how it should do lookups.
Rename ZEBRA_NEXTHOP_LOOKUP_MRIB to ZEBRA_NEXTHOP_LOOKUP now that it is more generalized.
This change is in preperation to remove multicast lookup mode completely from zebra.
Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/log.c | 2 | ||||
-rw-r--r-- | lib/zclient.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -358,7 +358,7 @@ static const struct zebra_desc_table command_types[] = { DESC_ENTRY(ZEBRA_BFD_CLIENT_DEREGISTER), DESC_ENTRY(ZEBRA_INTERFACE_ENABLE_RADV), DESC_ENTRY(ZEBRA_INTERFACE_DISABLE_RADV), - DESC_ENTRY(ZEBRA_NEXTHOP_LOOKUP_MRIB), + DESC_ENTRY(ZEBRA_NEXTHOP_LOOKUP), DESC_ENTRY(ZEBRA_INTERFACE_LINK_PARAMS), DESC_ENTRY(ZEBRA_MPLS_LABELS_ADD), DESC_ENTRY(ZEBRA_MPLS_LABELS_DELETE), diff --git a/lib/zclient.h b/lib/zclient.h index 6da9558aa..2385a8a21 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -131,7 +131,7 @@ typedef enum { ZEBRA_BFD_CLIENT_DEREGISTER, ZEBRA_INTERFACE_ENABLE_RADV, ZEBRA_INTERFACE_DISABLE_RADV, - ZEBRA_NEXTHOP_LOOKUP_MRIB, + ZEBRA_NEXTHOP_LOOKUP, ZEBRA_INTERFACE_LINK_PARAMS, ZEBRA_MPLS_LABELS_ADD, ZEBRA_MPLS_LABELS_DELETE, |