diff options
Diffstat (limited to 'server/server.go')
-rw-r--r-- | server/server.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/server.go b/server/server.go index 4810378e..d8e1d7c8 100644 --- a/server/server.go +++ b/server/server.go @@ -235,6 +235,10 @@ func (server *BgpServer) Serve() { log.Warn("Can't find the neighbor ", e.MsgSrc) return } + if e.Version != peer.fsm.version { + log.Debug("FSM Version inconsistent") + return + } m := server.handleFSMMessage(peer, e) if len(m) > 0 { senderMsgs = append(senderMsgs, m...) |