summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_dump.h
diff options
context:
space:
mode:
authorMarton Kun-Szabo <martonk@amazon.com>2019-08-09 19:53:01 +0200
committerMarton Kun-Szabo <martonk@amazon.com>2019-08-13 20:59:27 +0200
commit7d8d0eabb4772ac773d60180fb88272a7825ca4a (patch)
treee94c3b1256a223b63aaac18f90464e05285ad5fe /bgpd/bgp_dump.h
parentMerge pull request #4706 from qlyoung/fix-exit-vrf-markfile (diff)
downloadfrr-7d8d0eabb4772ac773d60180fb88272a7825ca4a.tar.xz
frr-7d8d0eabb4772ac773d60180fb88272a7825ca4a.zip
bgpd: hook for bgp peer status change events
Generally available hook for plugging application-specific code in for bgp peer change events. This hook (peer_status_changed) replaces the previous, more specific 'peer_established' hook with a more general-purpose one. Also, 'bgp_dump_state' is now registered under this hook. Signed-off-by: Marton Kun-Szabo <martonk@amazon.com>
Diffstat (limited to 'bgpd/bgp_dump.h')
-rw-r--r--bgpd/bgp_dump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_dump.h b/bgpd/bgp_dump.h
index 5ec0561b0..86c80d481 100644
--- a/bgpd/bgp_dump.h
+++ b/bgpd/bgp_dump.h
@@ -51,6 +51,6 @@
extern void bgp_dump_init(void);
extern void bgp_dump_finish(void);
-extern void bgp_dump_state(struct peer *, int, int);
+extern int bgp_dump_state(struct peer *);
#endif /* _QUAGGA_BGP_DUMP_H */