diff options
Diffstat (limited to 'ripngd/ripng_routemap.c')
-rw-r--r-- | ripngd/ripng_routemap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ripngd/ripng_routemap.c b/ripngd/ripng_routemap.c index 874d81516..0604e272c 100644 --- a/ripngd/ripng_routemap.c +++ b/ripngd/ripng_routemap.c @@ -97,8 +97,7 @@ static route_map_result_t route_match_interface(void *rule, if (type == RMAP_RIPNG) { ifname = rule; - ifp = if_lookup_by_name(ifname, - vrf_lookup_by_id(VRF_DEFAULT)); + ifp = if_lookup_by_name(ifname, VRF_DEFAULT); if (!ifp) return RMAP_NOMATCH; |