summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_fsm.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 02:40:37 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 02:40:37 +0200
commit1ff9a340588a8890c3036378ca5e754a0a941dab (patch)
tree69294ffecc9726195084276e0f0df727caff5677 /bgpd/bgp_fsm.h
parentbgpd: bgpd-mrai.patch (diff)
downloadfrr-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.h1
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);