summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/if.c4
-rw-r--r--lib/if.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/if.c b/lib/if.c
index 6dbadb868c..ecb7463168 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -160,7 +160,7 @@ if_create (const char *name, int namelen, vrf_id_t vrf_id)
/* Create new interface structure. */
void
-if_update_vrf (struct interface *ifp, const char *name, int namelen, vrf_id_t vrf_id)
+if_update (struct interface *ifp, const char *name, int namelen, vrf_id_t vrf_id)
{
struct list *intf_list = vrf_iflist_get (vrf_id);
@@ -455,7 +455,7 @@ if_get_by_name_len (const char *name, size_t namelen, vrf_id_t vrf_id, int vty)
}
else
{
- if_update_vrf (ifp, name, namelen, vrf_id);
+ if_update (ifp, name, namelen, vrf_id);
return ifp;
}
}
diff --git a/lib/if.h b/lib/if.h
index 7d88a9edf9..49f2a52478 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -390,8 +390,8 @@ struct nbr_connected
/* Prototypes. */
extern int if_cmp_name_func (char *, char *);
-extern void if_update_vrf (struct interface *, const char *name, int namelen,
- vrf_id_t vrf_id);
+extern void if_update (struct interface *, 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);