diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-10 21:54:53 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-15 15:31:10 +0100 |
commit | 95af5f130aca6c73465112e18f0dbe7fa4b3c979 (patch) | |
tree | a2a93dc16bc359a5c71d40f98a4bbbf8e89feec1 /lib/if.h | |
parent | lib, pimd, zebra: Convert if_lookup_exact_address to VRF only (diff) | |
download | frr-95af5f130aca6c73465112e18f0dbe7fa4b3c979.tar.xz frr-95af5f130aca6c73465112e18f0dbe7fa4b3c979.zip |
lib, ospfd, ripd: Convert if_lookup_address to be vrf aware
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/if.h')
-rw-r--r-- | lib/if.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -389,7 +389,6 @@ struct nbr_connected /* Prototypes. */ extern int if_cmp_name_func (char *, char *); -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, @@ -398,9 +397,9 @@ 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 (void *matchaddr, int family, - vrf_id_t vrf_id); -extern struct connected *if_lookup_address_vrf (void *matchaddr, int family, - vrf_id_t vrf_id); + vrf_id_t vrf_id); +extern struct connected *if_lookup_address (void *matchaddr, int family, + vrf_id_t vrf_id); extern struct interface *if_lookup_prefix_vrf (struct prefix *prefix, vrf_id_t vrf_id); |