diff options
-rw-r--r-- | server/fsm.go | 4 | ||||
-rw-r--r-- | server/server.go | 2 |
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 |