summaryrefslogtreecommitdiffhomepage
path: root/server/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/server.go')
-rw-r--r--server/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/server.go b/server/server.go
index fe413b59..88fad8d6 100644
--- a/server/server.go
+++ b/server/server.go
@@ -1429,6 +1429,7 @@ 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
}