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 4f2eb3a1c5..3deec8025b 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -427,7 +427,7 @@ if_lookup_prefix (struct prefix *prefix, vrf_id_t vrf_id)
/* Get interface by name if given name interface doesn't exist create
one. */
struct interface *
-if_get_by_name_vrf (const char *name, vrf_id_t vrf_id)
+if_get_by_name (const char *name, vrf_id_t vrf_id)
{
struct interface *ifp;
@@ -436,12 +436,6 @@ if_get_by_name_vrf (const char *name, vrf_id_t vrf_id)
}
struct interface *
-if_get_by_name (const char *name)
-{
- return if_get_by_name_vrf (name, VRF_DEFAULT);
-}
-
-struct interface *
if_get_by_name_len_vrf (const char *name, size_t namelen, vrf_id_t vrf_id, int vty)
{
struct interface *ifp;