summaryrefslogtreecommitdiffhomepage
path: root/server/fsm.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-31 14:37:56 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-31 14:37:56 +0900
commit04f90d2087d3a0741527d5ee111f7a3900e0687b (patch)
treeebb0ce48c5606814c4f48b396a3e3c0697789839 /server/fsm.go
parentbb7f960572bba5ce1ddbded69e8315667e87d4c4 (diff)
server: handle peer not capable of four byte AS number
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/fsm.go')
-rw-r--r--server/fsm.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/fsm.go b/server/fsm.go
index de64a7fa..e215450a 100644
--- a/server/fsm.go
+++ b/server/fsm.go
@@ -264,6 +264,7 @@ func (h *FSMHandler) opensent() bgp.FSMState {
if ok {
fsm.bgpMessageStateUpdate(m.Header.Type, true)
if m.Header.Type == bgp.BGP_MSG_OPEN {
+ fsm.incoming <- m
fsm.routerId = m.Body.(*bgp.BGPOpen).ID
msg := bgp.NewBGPKeepAliveMessage()
b, _ := msg.Serialize()