diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-10 15:51:36 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-15 10:30:58 -0400 |
| commit | c5e2cb11ad79a7e3e7d0f8be391d1e9ab067b8da (patch) | |
| tree | 3e0a23afc9108052721067887a3d3d0e4d39c931 /lib/if.c | |
| parent | 4e5266b8a3fb5f1928a610bf86739b415d078bee (diff) | |
lib, pimd, zebra: Convert if_lookup_exact_address to VRF only
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/if.c')
| -rw-r--r-- | lib/if.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -339,7 +339,7 @@ if_lookup_by_name_len(const char *name, size_t namelen) /* Lookup interface by IPv4 address. */ struct interface * -if_lookup_exact_address_vrf (void *src, int family, vrf_id_t vrf_id) +if_lookup_exact_address (void *src, int family, vrf_id_t vrf_id) { struct listnode *node; struct listnode *cnode; @@ -371,12 +371,6 @@ if_lookup_exact_address_vrf (void *src, int family, vrf_id_t vrf_id) return NULL; } -struct interface * -if_lookup_exact_address (void *src, int family) -{ - return if_lookup_exact_address_vrf (src, family, VRF_DEFAULT); -} - /* Lookup interface by IPv4 address. */ struct connected * if_lookup_address_vrf (void *matchaddr, int family, vrf_id_t vrf_id) |
