]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Use the re->metric instead of 0 for zebra_rmap_obj
authorDonald Sharp <sharpd@nvidia.com>
Fri, 11 Aug 2023 15:17:29 +0000 (11:17 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 11 Aug 2023 15:17:29 +0000 (11:17 -0400)
commit17bcaad841f4f420ce441cfd2a471e0a385afb0b
tree89de412370ce2f362df0b8b98be0392612f1680c
parentb7542d5af889e039ef19e1fd00d0116396659688
zebra: Use the re->metric instead of 0 for zebra_rmap_obj

The zebra_rmap_obj was storing the re->metric and allowing
matches against it, but in most cases it was just using 0.
Use the Route entries metric instead.  This should fix
some bugs where a match metric never worked.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_routemap.c