summaryrefslogtreecommitdiff
path: root/lib/pid_output.c
diff options
context:
space:
mode:
authorIqra Siddiqui <imujeebsiddi@vmware.com>2022-05-27 08:07:36 -0700
committerIqra Siddiqui <imujeebsiddi@vmware.com>2022-07-06 11:06:49 -0700
commita633fb579e377fb745d3d59b6158dba9dc784875 (patch)
tree527eb8c9fa339cf94488772a79ec5f21314d8380 /lib/pid_output.c
parent42427e3908350f13244f2478635d47002a643094 (diff)
bgpd: Fix insonsistencies with default-originate route-map
Description: - When there are multiple policies configured with route-map then the first matching policy is not getting applied on default route originated with default-originate. - In BGP we first run through the BGP RIB and then pass it to the route-map to find if its permit or deny. Due to this behaviour the first route in BGP RIB that passes the route-map will be applied. Fix: - Passing extra parameter to routemap_apply so that we can get the preference of the matching policy, keep comparing it with the old preference and finally consider the policy with less preference. Co-authored-by: Abhinay Ramesh <rabhinay@vmware.com> Signed-off-by: Iqra Siddiqui <imujeebsiddi@vmware.com>
Diffstat (limited to 'lib/pid_output.c')
0 files changed, 0 insertions, 0 deletions