diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-11 07:52:59 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-15 10:43:31 -0400 |
| commit | 128c2be2a1b1592e4641b79d897c8ceebc0e8bf5 (patch) | |
| tree | 847fe9db6e474b32f9531977d829602f9d016419 /lib/if.h | |
| parent | baaea325e6a425321296cff40cc7a3b47b53efb3 (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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |
