summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_zebra.h
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2016-10-07 15:44:42 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-10-18 14:33:05 +0200
commitafbb1c59a3b4dbbe41b1869642b31e39fb0136d2 (patch)
tree298acb423c829ec89ab8c58b13e5748613c1b8b3 /bgpd/bgp_zebra.h
parentrfapi: cleanup some warnings (diff)
downloadfrr-afbb1c59a3b4dbbe41b1869642b31e39fb0136d2.tar.xz
frr-afbb1c59a3b4dbbe41b1869642b31e39fb0136d2.zip
bgp: ignore NHT when bgpd has never connected to zebra
Diffstat (limited to 'bgpd/bgp_zebra.h')
-rw-r--r--bgpd/bgp_zebra.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h
index af921af82..24b4634eb 100644
--- a/bgpd/bgp_zebra.h
+++ b/bgpd/bgp_zebra.h
@@ -62,4 +62,6 @@ extern struct interface *if_lookup_by_ipv6 (struct in6_addr *, ifindex_t, vrf_id
extern struct interface *if_lookup_by_ipv6_exact (struct in6_addr *, ifindex_t, vrf_id_t);
#endif /* HAVE_IPV6 */
+extern int bgp_zebra_num_connects(void);
+
#endif /* _QUAGGA_BGP_ZEBRA_H */