summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/if.h b/lib/if.h
index 72d78c5d5c..7a1274c31e 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -417,12 +417,10 @@ extern struct interface *if_get_by_name_vrf (const char *ifname,
/* For these 2 functions, the namelen argument should be the precise length
of the ifname string (not counting any optional trailing '\0' character).
In most cases, strnlen should be used to calculate the namelen value. */
-extern struct interface *if_lookup_by_name_len(const char *ifname,
- size_t namelen);
extern struct interface *if_get_by_name_len(const char *ifname,size_t namelen);
-extern struct interface *if_lookup_by_name_len_vrf(const char *ifname,
- size_t namelen, vrf_id_t vrf_id);
+extern struct interface *if_lookup_by_name_len(const char *ifname,
+ size_t namelen, vrf_id_t vrf_id);
extern struct interface *if_get_by_name_len_vrf(const char *ifname,
size_t namelen, vrf_id_t vrf_id, int vty);