diff options
Diffstat (limited to 'server/server.go')
-rw-r--r-- | server/server.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/server.go b/server/server.go index 2d508434..a49914e0 100644 --- a/server/server.go +++ b/server/server.go @@ -1908,6 +1908,9 @@ func (server *BgpServer) handleGrpc(grpcReq *GrpcRequest) []*SenderMsg { logOp(grpcReq.Name, "Neighbor soft reset out") } for _, peer := range peers { + if peer.fsm.state != bgp.BGP_FSM_ESTABLISHED { + continue + } rfList := peer.configuredRFlist() sentPathList := peer.adjRibOut.PathList(rfList, false) peer.adjRibOut.Drop(rfList) |