summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-11 07:52:59 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-15 10:43:31 -0400
commit128c2be2a1b1592e4641b79d897c8ceebc0e8bf5 (patch)
tree847fe9db6e474b32f9531977d829602f9d016419 /lib/if.h
parentbaaea325e6a425321296cff40cc7a3b47b53efb3 (diff)
bgpd, lib, zebra: Refactor ifname2ifindex to be VRF aware
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/if.h b/lib/if.h
index bee783d930..7d88a9edf9 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -452,8 +452,7 @@ extern const char *ifindex2ifname (ifindex_t, vrf_id_t vrf_id);
/* Please use ifname2ifindex instead of if_nametoindex where possible;
ifname2ifindex uses internal interface info, whereas if_nametoindex must
make a system call. */
-extern ifindex_t ifname2ifindex(const char *ifname);
-extern ifindex_t ifname2ifindex_vrf(const char *ifname, vrf_id_t vrf_id);
+extern ifindex_t ifname2ifindex(const char *ifname, vrf_id_t vrf_id);
/* Connected address functions. */
extern struct connected *connected_new (void);