diff options
| author | Marton Kun-Szabo <martonk@amazon.com> | 2019-08-09 10:53:01 -0700 |
|---|---|---|
| committer | Marton Kun-Szabo <martonk@amazon.com> | 2019-08-13 11:59:27 -0700 |
| commit | 7d8d0eabb4772ac773d60180fb88272a7825ca4a (patch) | |
| tree | e94c3b1256a223b63aaac18f90464e05285ad5fe /bgpd/bgp_fsm.h | |
| parent | ce935bc2843cb35c5450e1ea9beb1c58474d6e2c (diff) | |
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_fsm.h b/bgpd/bgp_fsm.h index 3476a3c3a9..9d0500ae2c 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 */ |
