summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-11-09 11:49:09 -0500
committerGitHub <noreply@github.com>2021-11-09 11:49:09 -0500
commit34e5d7e884d658dd9c7f689d111dd33243a8571c (patch)
tree1de899b0a94af2c7d689b69d65eec337632cb632
parent46be0bd1aee6b9a0602053b01ec33ccb3c040825 (diff)
parent77712f66b60c0f975515e596df689341f5b61590 (diff)
Merge pull request #9939 from idryzhov/fix-ptm-build
zebra: fix build with --enable-bfdd=no
-rw-r--r--zebra/zebra_ptm.c2
1 files changed, 1 insertions, 1 deletions
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())