summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_nexthop.h
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2016-01-12 19:41:57 +0100
committervivek <vivek@cumulusnetworks.com>2016-06-09 02:58:42 +0200
commitbb86c6017eccd03ea1554c7bdef5949cf676f208 (patch)
treea79c6213b222d7e7aa474f72138ec5a2f1f85357 /bgpd/bgp_nexthop.h
parentzebra: Fix comparison warning (diff)
downloadfrr-bb86c6017eccd03ea1554c7bdef5949cf676f208.tar.xz
frr-bb86c6017eccd03ea1554c7bdef5949cf676f208.zip
bgpd: improve cleanup in bgp_delete()
Signed-off-by: Lou Berger <lberger@labn.net> (cherry picked from commit 82dd707988b7481e203cab058c92f0b3041dd558) Conflicts: bgpd/bgp_nexthop.h bgpd/bgp_route.c bgpd/bgp_routemap.c bgpd/bgp_zebra.h bgpd/bgpd.c bgpd/bgpd.h
Diffstat (limited to 'bgpd/bgp_nexthop.h')
-rw-r--r--bgpd/bgp_nexthop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_nexthop.h b/bgpd/bgp_nexthop.h
index a2d5ffdcc..861da5740 100644
--- a/bgpd/bgp_nexthop.h
+++ b/bgpd/bgp_nexthop.h
@@ -73,7 +73,6 @@ extern void bgp_connected_delete (struct bgp *bgp, struct connected *c);
extern int bgp_multiaccess_check_v4 (struct in_addr, struct peer *);
extern int bgp_config_write_scan_time (struct vty *);
extern int bgp_nexthop_self (struct bgp *, struct attr *);
-extern void bgp_address_init (struct bgp *);
extern struct bgp_nexthop_cache *bnc_new(void);
extern void bnc_free(struct bgp_nexthop_cache *bnc);
extern void bnc_nexthop_free(struct bgp_nexthop_cache *bnc);
@@ -81,5 +80,7 @@ extern char *bnc_str(struct bgp_nexthop_cache *bnc, char *buf, int size);
extern void bgp_scan_init(struct bgp *bgp);
extern void bgp_scan_finish(struct bgp *bgp);
extern void bgp_scan_vty_init(void);
+extern void bgp_address_init (struct bgp *bgp);
+extern void bgp_address_destroy (struct bgp *bgp);
#endif /* _QUAGGA_BGP_NEXTHOP_H */