summaryrefslogtreecommitdiffhomepage
path: root/server/server.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-11-08 16:27:54 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-11-11 00:31:32 +0900
commit403ae3580bbaeb49da535efa66b96ee7b87b31d9 (patch)
tree84df2dc6ecd48d01e8b6db6faeb7ae37b3d28958 /server/server.go
parent15812686282c61120e07c7880be6d347c1a53059 (diff)
server: expose fsmMsgType, fsmMsg
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/server.go')
-rw-r--r--server/server.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/server.go b/server/server.go
index d6aad66c..1e54da39 100644
--- a/server/server.go
+++ b/server/server.go
@@ -84,7 +84,7 @@ type BgpServer struct {
addedPeerCh chan config.Neighbor
deletedPeerCh chan config.Neighbor
updatedPeerCh chan config.Neighbor
- fsmincomingCh chan *fsmMsg
+ fsmincomingCh chan *FsmMsg
rpkiConfigCh chan config.RpkiServers
bmpConfigCh chan config.BmpServers
dumper *dumper
@@ -248,7 +248,7 @@ func (server *BgpServer) Serve() {
return l
}
- server.fsmincomingCh = make(chan *fsmMsg, 4096)
+ server.fsmincomingCh = make(chan *FsmMsg, 4096)
var senderMsgs []*SenderMsg
var zapiMsgCh chan *zebra.Message
@@ -707,7 +707,7 @@ func (server *BgpServer) propagateUpdate(peer *Peer, pathList []*table.Path) []*
return msgs
}
-func (server *BgpServer) handleFSMMessage(peer *Peer, e *fsmMsg, incoming chan *fsmMsg) []*SenderMsg {
+func (server *BgpServer) handleFSMMessage(peer *Peer, e *FsmMsg, incoming chan *FsmMsg) []*SenderMsg {
msgs := make([]*SenderMsg, 0)
switch e.MsgType {