summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_zebra.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2021-10-27 21:29:39 +0200
committerGitHub <noreply@github.com>2021-10-27 21:29:39 +0200
commitf727c6ae8a62be99bd5be5a191fbd7df455a35f0 (patch)
tree9e9bde7f79993485caf03678351041c05379a81e /bgpd/bgp_zebra.c
parentMerge pull request #9902 from LabNConsulting/working/lb/lutil-wait-optimization (diff)
parentlib: make if_lookup_by_name_all_vrf internal (diff)
downloadfrr-f727c6ae8a62be99bd5be5a191fbd7df455a35f0.tar.xz
frr-f727c6ae8a62be99bd5be5a191fbd7df455a35f0.zip
Merge pull request #9837 from idryzhov/cleanup-if-by-name-vrf-all
*: fix usage of if_lookup_by_name_all_vrf
Diffstat (limited to 'bgpd/bgp_zebra.c')
-rw-r--r--bgpd/bgp_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c
index 6c9eb2972..a98168d46 100644
--- a/bgpd/bgp_zebra.c
+++ b/bgpd/bgp_zebra.c
@@ -3547,7 +3547,7 @@ void bgp_zebra_announce_default(struct bgp *bgp, struct nexthop *nh,
/* create default route with interface <VRF>
* with nexthop-vrf <VRF>
*/
- ifp = if_lookup_by_name_all_vrf(vrf->name);
+ ifp = if_lookup_by_name_vrf(vrf->name, vrf);
if (!ifp)
return;
api_nh->vrf_id = nh->vrf_id;