diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 02:40:37 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 02:40:37 +0200 |
commit | 1ff9a340588a8890c3036378ca5e754a0a941dab (patch) | |
tree | 69294ffecc9726195084276e0f0df727caff5677 /bgpd/bgp_fsm.h | |
parent | bgpd: bgpd-mrai.patch (diff) | |
download | frr-1ff9a340588a8890c3036378ca5e754a0a941dab.tar.xz frr-1ff9a340588a8890c3036378ca5e754a0a941dab.zip |
bgpd: bgpd-fsm-fix.patch
BGP: Fix FSM to handle active/passive connections better
The existing code didn't work well when dual connections resulted between
peers during session bringup. This patch fixes that.
Signed-off-by: Dinesh G Dutt <ddutt@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_fsm.h')
-rw-r--r-- | bgpd/bgp_fsm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_fsm.h b/bgpd/bgp_fsm.h index eecd131d6..a4c5a611d 100644 --- a/bgpd/bgp_fsm.h +++ b/bgpd/bgp_fsm.h @@ -75,6 +75,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA /* Prototypes. */ extern int bgp_event (struct thread *); +extern int bgp_event_update (struct peer *, int event); extern int bgp_stop (struct peer *peer); extern void bgp_timer_set (struct peer *); extern void bgp_fsm_change_status (struct peer *peer, int status); |