summaryrefslogtreecommitdiffhomepage
path: root/pkg/server/fsm.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/fsm.go')
-rw-r--r--pkg/server/fsm.go5
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