summaryrefslogtreecommitdiffhomepage
path: root/server/fsm_test.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-04-06 22:44:54 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-04-10 00:04:48 +0900
commit0d2633e7831cb2406bacf62a232fcca7184ff988 (patch)
tree3b3e32f5106e94b100af2f802142b5e1ad69d922 /server/fsm_test.go
parent3ae8c9170b399ed9b64fe5382fc9a58c5c9f8b6b (diff)
server: serialize in fsm send loop
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/fsm_test.go')
-rw-r--r--server/fsm_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/fsm_test.go b/server/fsm_test.go
index 8d98d751..afe66a0f 100644
--- a/server/fsm_test.go
+++ b/server/fsm_test.go
@@ -294,7 +294,7 @@ func makePeerAndHandler() (*Peer, *FSMHandler) {
p.fsm = NewFSM(&gConf, &pConf, table.NewRoutingPolicy())
- p.outgoing = make(chan *bgp.BGPMessage, 4096)
+ p.outgoing = make(chan *FsmOutgoingMsg, 4096)
h := &FSMHandler{
fsm: p.fsm,