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 14c333a4e7..c4deeb7920 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -373,7 +373,7 @@ if_lookup_exact_address (void *src, int family, vrf_id_t vrf_id)
/* Lookup interface by IPv4 address. */
struct connected *
-if_lookup_address_vrf (void *matchaddr, int family, vrf_id_t vrf_id)
+if_lookup_address (void *matchaddr, int family, vrf_id_t vrf_id)
{
struct listnode *node;
struct prefix addr;
@@ -414,12 +414,6 @@ if_lookup_address_vrf (void *matchaddr, int family, vrf_id_t vrf_id)
return match;
}
-struct connected *
-if_lookup_address (void *matchaddr, int family)
-{
- return if_lookup_address_vrf (matchaddr, family, VRF_DEFAULT);
-}
-
/* Lookup interface by prefix */
struct interface *
if_lookup_prefix_vrf (struct prefix *prefix, vrf_id_t vrf_id)