summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/fsm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/fsm.go b/server/fsm.go
index 7ee1d9cc..fcd8b5b0 100644
--- a/server/fsm.go
+++ b/server/fsm.go
@@ -138,7 +138,7 @@ func NewFSM(gConf *config.Global, pConf *config.Neighbor) *FSM {
gConf: gConf,
pConf: pConf,
state: bgp.BGP_FSM_IDLE,
- connCh: make(chan net.Conn),
+ connCh: make(chan net.Conn, 1),
opensentHoldTime: float64(HOLDTIME_OPENSENT),
adminState: adminState,
adminStateCh: make(chan AdminState, 1),