diff options
-rw-r--r-- | server/fsm.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/fsm.go b/server/fsm.go index 3aaf702f..6214d0b1 100644 --- a/server/fsm.go +++ b/server/fsm.go @@ -541,8 +541,12 @@ func (h *FSMHandler) recvMessageWithError() error { if len(h.holdTimerResetCh) == 0 { h.holdTimerResetCh <- true } + if m.Header.Type == bgp.BGP_MSG_KEEPALIVE { + return nil + } case bgp.BGP_MSG_NOTIFICATION: h.reason = "Notification received" + return nil } } } |