summaryrefslogtreecommitdiff
path: root/zebra/zebra_nb_config.c
diff options
context:
space:
mode:
authorvdhingra <vdhingra@vmware.com>2020-07-01 22:36:51 -0700
committervdhingra <vdhingra@vmware.com>2020-07-16 08:40:42 -0700
commit755100ac8983324e02cca9e1ab50bca1ab2da4da (patch)
tree82f051868e1d186b7164788774ffe57858c34c5a /zebra/zebra_nb_config.c
parent88fa5104a04af60b7d1107f02ee84fb9c0a15abe (diff)
zebra: Moving afi-safi identity to lib
afi-safi identity handling should be in the common place. Signed-off-by: VishalDhingra <vdhingra@vmware.com>
Diffstat (limited to 'zebra/zebra_nb_config.c')
-rw-r--r--zebra/zebra_nb_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_nb_config.c b/zebra/zebra_nb_config.c
index 948ef51320..259b5f1eb2 100644
--- a/zebra/zebra_nb_config.c
+++ b/zebra/zebra_nb_config.c
@@ -1242,7 +1242,7 @@ int lib_vrf_zebra_ribs_rib_create(struct nb_cb_create_args *args)
table_id = zvrf->table_id;
afi_safi_name = yang_dnode_get_string(args->dnode, "./afi-safi-name");
- zebra_afi_safi_identity2value(afi_safi_name, &afi, &safi);
+ yang_afi_safi_identity2value(afi_safi_name, &afi, &safi);
zrt = zebra_router_find_zrt(zvrf, table_id, afi, safi);