summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-08-07 11:42:14 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-12 08:04:30 +0900
commitfab88599e394f61a34bc732280b3e4a418a4379d (patch)
treece4350150839e3fe54c87a906a4d6177a4f13dc1
parentf15225af67f907ebb31e042a15c9a7c0d675431d (diff)
server: fix typo
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-rw-r--r--server/fsm.go4
-rw-r--r--server/server.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/server/fsm.go b/server/fsm.go
index b3426cc3..0191f9d3 100644
--- a/server/fsm.go
+++ b/server/fsm.go
@@ -547,7 +547,7 @@ func (h *FSMHandler) opensent() bgp.FSMState {
"Key": fsm.pConf.NeighborConfig.NeighborAddress,
"State": fsm.state,
"Data": e.MsgData,
- }).Panic("unknonw msg type")
+ }).Panic("unknown msg type")
}
case <-h.errorCh:
h.conn.Close()
@@ -649,7 +649,7 @@ func (h *FSMHandler) openconfirm() bgp.FSMState {
"Key": fsm.pConf.NeighborConfig.NeighborAddress,
"State": fsm.state,
"Data": e.MsgData,
- }).Panic("unknonw msg type")
+ }).Panic("unknown msg type")
}
case <-h.errorCh:
h.conn.Close()
diff --git a/server/server.go b/server/server.go
index 502acae4..b1d0d956 100644
--- a/server/server.go
+++ b/server/server.go
@@ -691,7 +691,7 @@ func (server *BgpServer) handleFSMMessage(peer *Peer, e *fsmMsg, incoming chan *
"Topic": "Peer",
"Key": peer.conf.NeighborConfig.NeighborAddress,
"Data": e.MsgData,
- }).Panic("unknonw msg type")
+ }).Panic("unknown msg type")
}
}
return msgs