summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/if.c b/lib/if.c
index 633c949ca3..4c8f16d37d 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -410,7 +410,7 @@ if_lookup_address (void *matchaddr, int family, vrf_id_t vrf_id)
/* Lookup interface by prefix */
struct interface *
-if_lookup_prefix_vrf (struct prefix *prefix, vrf_id_t vrf_id)
+if_lookup_prefix (struct prefix *prefix, vrf_id_t vrf_id)
{
struct listnode *node;
struct listnode *cnode;
@@ -430,12 +430,6 @@ if_lookup_prefix_vrf (struct prefix *prefix, vrf_id_t vrf_id)
return NULL;
}
-struct interface *
-if_lookup_prefix (struct prefix *prefix)
-{
- return if_lookup_prefix_vrf (prefix, VRF_DEFAULT);
-}
-
/* Get interface by name if given name interface doesn't exist create
one. */
struct interface *