osrg / gobgp

BGP implemented in the Go Programming Language
https://osrg.github.io/gobgp/
Apache License 2.0
3.66k stars 699 forks source link

send-max: fix flag when path is not filtered anymore #2825

Closed hardeker closed 3 months ago

hardeker commented 3 months ago

when a path that was previously filtered becomes advertised because another path is withdrawn, the sendMaxFiltered flag needs to be unset. Otherwise, this path would never be deleted from the peer unless the peer is removed.

fujita commented 3 months ago

Looks correct. @maxime-peim any comments?

maxime-peim commented 3 months ago

Indeed, that is correct, we need to unset the flag for paths ready to be advertised.

fujita commented 3 months ago

Thanks guys!