]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix invocation of bgpTrapBackwardTransition 7037/head
authorBabis Chalios <mail@bchalios.io>
Tue, 4 Aug 2020 13:19:25 +0000 (15:19 +0200)
committerBabis Chalios <mail@bchalios.io>
Wed, 2 Sep 2020 13:30:22 +0000 (15:30 +0200)
commit05e68acc7598bce8859ab15581950f219c40e7dd
tree0d529d2fad74402f9a8788b5a4c79d1f2ca4d9cb
parent842b9211ac685148212db3ec9432c2db9cb2c7c9
bgpd: fix invocation of bgpTrapBackwardTransition

The bgpTrapBackwardTransition callback was being called only during
bgp_stop and only under the condition that peer status was Established.
The MIB defines that the event should be generated for every transition
of the BGP FSM from a higher to a lower state.

Signed-off-by: Babis Chalios <mail@bchalios.io>
bgpd/bgp_fsm.c