summaryrefslogtreecommitdiffstats
path: root/babeld/babeld.c
diff options
context:
space:
mode:
Diffstat (limited to 'babeld/babeld.c')
-rw-r--r--babeld/babeld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/babeld.c b/babeld/babeld.c
index 39451b435..298903f50 100644
--- a/babeld/babeld.c
+++ b/babeld/babeld.c
@@ -555,7 +555,7 @@ babel_distribute_update (struct distribute_ctx *ctx, struct distribute *dist)
if (! dist->ifname)
return;
- ifp = if_lookup_by_name (dist->ifname, VRF_DEFAULT);
+ ifp = if_lookup_by_name (dist->ifname, vrf_lookup_by_id(VRF_DEFAULT));
if (ifp == NULL)
return;