diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-03-28 21:49:50 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-28 21:49:50 +0200 |
commit | 9a7d1e7427a1c7d24e270ad12cd3f45be49e9a51 (patch) | |
tree | b95d6fbcc770a2ffc44ea6f8d1d727c4b21bd8e4 /zebra/zapi_msg.c | |
parent | Merge pull request #13113 from sri-mohan1/sri-mohan-ldp (diff) | |
download | frr-9a7d1e7427a1c7d24e270ad12cd3f45be49e9a51.tar.xz frr-9a7d1e7427a1c7d24e270ad12cd3f45be49e9a51.zip |
zebra: Use zebra_vrf_lookup_by_id when we can
Let's make this as consistent as is possible.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zapi_msg.c')
-rw-r--r-- | zebra/zapi_msg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c index 1ff188c76..4c6c336d4 100644 --- a/zebra/zapi_msg.c +++ b/zebra/zapi_msg.c @@ -1330,7 +1330,7 @@ static void zread_fec_register(ZAPI_HANDLER_ARGS) uint32_t label_index = MPLS_INVALID_LABEL_INDEX; s = msg; - zvrf = vrf_info_lookup(VRF_DEFAULT); + zvrf = zebra_vrf_lookup_by_id(VRF_DEFAULT); if (!zvrf) return; @@ -1393,7 +1393,7 @@ static void zread_fec_unregister(ZAPI_HANDLER_ARGS) uint16_t flags; s = msg; - zvrf = vrf_info_lookup(VRF_DEFAULT); + zvrf = zebra_vrf_lookup_by_id(VRF_DEFAULT); if (!zvrf) return; @@ -2337,7 +2337,7 @@ void zsend_capabilities_all_clients(void) struct zebra_vrf *zvrf; struct zserv *client; - zvrf = vrf_info_lookup(VRF_DEFAULT); + zvrf = zebra_vrf_lookup_by_id(VRF_DEFAULT); for (ALL_LIST_ELEMENTS(zrouter.client_list, node, nnode, client)) { /* Do not send unsolicited messages to synchronous clients. */ if (client->synchronous) |