summaryrefslogtreecommitdiff
path: root/lib/srcdest_table.c
diff options
context:
space:
mode:
authorNaveen Thanikachalam <nthanikachal@vmware.com>2020-07-14 09:15:27 -0700
committerNaveen Thanikachalam <nthanikachal@vmware.com>2020-07-14 09:28:38 -0700
commit1410dd3f1b0648d75490995153e8a70fc9eb39f7 (patch)
tree7e6dd99ca4da8c0a15acbf028c4181f174d3753c /lib/srcdest_table.c
parent8803809f0b51319606b339db00684f1f0eddfc0f (diff)
libfrr: Retain ret value if the best idx is found
While iteratively looking for a best match route-map index amongst a list of potential best match route-map indices, if a candidate best match index is already found, disregard the value returned by the function route_map_apply_match() if it returns either RMAP_NOOP or RMAP_NOMATCH in the following iterations. This is because if a best match route-map index is found then, the return value must always be set to RMAP_MATCH. Signed-off-by: NaveenThanikachalam <nthanikachal@vmware.com>
Diffstat (limited to 'lib/srcdest_table.c')
0 files changed, 0 insertions, 0 deletions