summaryrefslogtreecommitdiffhomepage
path: root/server/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/server.go')
-rw-r--r--server/server.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/server.go b/server/server.go
index a7245198..9588ecd5 100644
--- a/server/server.go
+++ b/server/server.go
@@ -2100,8 +2100,7 @@ func (server *BgpServer) handleGrpc(grpcReq *GrpcRequest) []*SenderMsg {
}
}
if found {
- p.IsWithdraw = true
- withdrawnList = append(withdrawnList, p)
+ withdrawnList = append(withdrawnList, p.Clone(true))
}
}
msgs = append(msgs, newSenderMsg(peer, table.CreateUpdateMsgFromPaths(withdrawnList)))