summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2022-12-27 14:51:28 -0500
committerGitHub <noreply@github.com>2022-12-27 14:51:28 -0500
commit16aa1809e7c8caad37e8edd4e5aaac4f344bc7d3 (patch)
treedee0b8f0b0a4fc2387af5433b213cad845c9dd66 /lib/if.h
parentf616e716089b16d9a678846282a6ac5c55e31a56 (diff)
parentce82e9026056e5aa7f60abdbf975d19a7fffc623 (diff)
Merge pull request #11127 from louis-6wind/bgp-leak
bgpd: multiple fixes for route leaking
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/if.h b/lib/if.h
index 91dcd46247..a653246ccb 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -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);