summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNathan Bahr <nbahr@atcorp.com>2024-09-24 21:57:46 +0200
committerNathan Bahr <nbahr@atcorp.com>2024-12-12 14:50:31 +0100
commit4250eae00dab6cefea3c8a38a8e113069289c54f (patch)
tree66a839c3ce1dd350d018b7f6446f892ae0a56925 /lib
parentMerge pull request #17636 from opensourcerouting/msdp-cleanup (diff)
downloadfrr-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.c2
-rw-r--r--lib/zclient.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/log.c b/lib/log.c
index 2b049cebe..bc1ed5c5c 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -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,