summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_fsm.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_fsm.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_fsm.h')
-rw-r--r--bgpd/bgp_fsm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_fsm.h b/bgpd/bgp_fsm.h
index 3476a3c3a..9d0500ae2 100644
--- a/bgpd/bgp_fsm.h
+++ b/bgpd/bgp_fsm.h
@@ -88,6 +88,5 @@ extern void bgp_adjust_routeadv(struct peer *);
#include "hook.h"
DECLARE_HOOK(peer_backward_transition, (struct peer * peer), (peer))
-DECLARE_HOOK(peer_established, (struct peer * peer), (peer))
#endif /* _QUAGGA_BGP_FSM_H */