diff options
author | wanghonghao <wanghonghao@bytedance.com> | 2019-03-28 16:07:03 +0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-04-09 23:09:36 +0900 |
commit | ba63f7e07647f5677f652d8e8d673f4215f2b425 (patch) | |
tree | 070733cc22bd27136f01a6803f558ad65a47fe18 /pkg/server/fsm.go | |
parent | e27d517183a021b2470a5bb7629e8840a18ff448 (diff) |
fsm: not reject open message with restart flag unset from gr peer
Diffstat (limited to 'pkg/server/fsm.go')
-rw-r--r-- | pkg/server/fsm.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg/server/fsm.go b/pkg/server/fsm.go index a840896f..ae102812 100644 --- a/pkg/server/fsm.go +++ b/pkg/server/fsm.go @@ -1358,10 +1358,7 @@ func (h *fsmHandler) opensent(ctx context.Context) (bgp.FSMState, *fsmStateReaso "Key": fsm.pConf.State.NeighborAddress, "State": fsm.state.String(), }).Warn("restart flag is not set") - // send notification? - h.conn.Close() - fsm.lock.Unlock() - return bgp.BGP_FSM_IDLE, newfsmStateReason(fsmInvalidMsg, nil, nil) + // just ignore } // RFC 4724 3 |