mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
server: fix bug of soft-reset-out
p, which is newly filtered by export filter stays in peer.localRib. we mustn't change IsWithdraw flag of it. Signed-off-by: ISHIDA Wataru <[email protected]>
This commit is contained in:
committed by
FUJITA Tomonori
parent
0a14294887
commit
eb8ed382be
+1
-2
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user