From 77712f66b60c0f975515e596df689341f5b61590 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Tue, 2 Nov 2021 19:20:24 +0300 Subject: [PATCH] zebra: fix build with --enable-bfdd=no Signed-off-by: Igor Ryzhov --- zebra/zebra_ptm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/zebra_ptm.c b/zebra/zebra_ptm.c index ec68f585e3..b1d2f1f0b3 100644 --- a/zebra/zebra_ptm.c +++ b/zebra/zebra_ptm.c @@ -613,7 +613,7 @@ static int zebra_ptm_handle_msg_cb(void *arg, void *in_ctxt) int count = 0; RB_FOREACH (vrf, vrf_id_head, &vrfs_by_id) { - ifp = if_lookup_by_name_vrf(ifname, vrf); + ifp = if_lookup_by_name_vrf(port_str, vrf); if (ifp) { count++; if (!vrf_is_backend_netns()) -- 2.39.5