mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
829bbcf0a2
Currently, even though `ApplyPolicy` is called for determining the accepted routes after apply policy, the new route with attribute modifications is not returned. This is problematic for gRPC API users. Tests are added for all four cases that were described in https://github.com/osrg/gobgp/issues/2765. This PR makes the behaviour correct for "Case/Attempt 2" described in the issue.