commit | 68bfb6190e19898adc0e420b6346cf4778705e60 | [log] [tgz] |
---|---|---|
author | Lou Berger <lberger@labn.net> | Thu Oct 06 09:59:32 2016 -0400 |
committer | Paul Jakma <paul.jakma@hpe.com> | Fri Oct 07 10:53:15 2016 +0100 |
tree | fbccbc160a94c245abee2696fef805da7f620b4b | |
parent | 743dd42b3f5d4bc5f9a86b91364c67217f42c6d1 [diff] [blame] |
bgp: ignore NHT when bgpd has never connected zebra
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h index 9a592c3..5d4ed62 100644 --- a/bgpd/bgp_zebra.h +++ b/bgpd/bgp_zebra.h
@@ -48,4 +48,6 @@ extern struct interface *if_lookup_by_ipv6 (struct in6_addr *); extern struct interface *if_lookup_by_ipv6_exact (struct in6_addr *); +extern int bgp_zebra_num_connects(void); + #endif /* _QUAGGA_BGP_ZEBRA_H */