summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/if.h b/lib/if.h
index 6afce9dda6..10740957b5 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -389,15 +389,14 @@ struct nbr_connected
/* Prototypes. */
extern int if_cmp_name_func (char *, char *);
-extern struct interface *if_create (const char *name, int namelen);
extern struct interface *if_lookup_exact_address (void *matchaddr, int family);
extern struct connected *if_lookup_address (void *matchaddr, int family);
extern struct interface *if_lookup_prefix (struct prefix *prefix);
extern void if_update_vrf (struct interface *, const char *name, int namelen,
vrf_id_t vrf_id);
-extern struct interface *if_create_vrf (const char *name, int namelen,
- vrf_id_t vrf_id);
+extern struct interface *if_create (const char *name, int namelen,
+ vrf_id_t vrf_id);
extern struct interface *if_lookup_by_index (ifindex_t, vrf_id_t vrf_id);
extern struct interface *if_lookup_exact_address_vrf (void *matchaddr, int family,
vrf_id_t vrf_id);