summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go
index 261f3e9a..d69d2f1e 100644
--- a/server/server.go
+++ b/server/server.go
@@ -1457,10 +1457,10 @@ func (server *BgpServer) handleGrpc(grpcReq *GrpcRequest) []*SenderMsg {
case REQ_NEIGHBOR_SOFT_RESET, REQ_NEIGHBOR_SOFT_RESET_IN:
peer, err := server.checkNeighborRequest(grpcReq)
- peer.accepted = 0
if err != nil {
break
}
+ peer.accepted = 0
if grpcReq.RequestType == REQ_NEIGHBOR_SOFT_RESET {
logOp(peer, "Neighbor soft reset")
} else {