diff options
| author | Russ White <russ@riw.us> | 2023-01-17 09:31:37 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-17 09:31:37 -0500 |
| commit | 00d7261e203a6f9426f7ced1c1b940fc9191fe2b (patch) | |
| tree | 71ebfcf88cf088a6c7ca5d9b10faa3076771eb1e /lib/if.h | |
| parent | c542606e5648d6d22dc470fe5492f8c81b01ba6b (diff) | |
| parent | 8a02d9fe1e167bc57bcf8f8968107a739b41b654 (diff) | |
Merge pull request #12636 from opensourcerouting/fix/bgp_accept-own_connected_routes
bgpd: Allow importing local routes with accept-own mechanism
Diffstat (limited to 'lib/if.h')
| -rw-r--r-- | lib/if.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -532,6 +532,7 @@ static inline bool if_address_is_local(const void *matchaddr, int family, struct vrf; extern struct interface *if_lookup_by_name_vrf(const char *name, struct vrf *vrf); extern struct interface *if_lookup_by_name(const char *ifname, vrf_id_t vrf_id); +extern struct interface *if_get_vrf_loopback(vrf_id_t vrf_id); extern struct interface *if_get_by_name(const char *ifname, vrf_id_t vrf_id, const char *vrf_name); |
