diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-08-11 17:11:40 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-08-11 17:11:40 +0200 |
commit | cad4d0c3327d6985446c949bc087a277ce9bb930 (patch) | |
tree | 1118a881d41a20f00991277e7d6e149c3976bc1d /zebra/zebra_nhg.c | |
parent | zebra: Remove vrf_id from passed around object (diff) | |
download | frr-cad4d0c3327d6985446c949bc087a277ce9bb930.tar.xz frr-cad4d0c3327d6985446c949bc087a277ce9bb930.zip |
zebra: Replace source_protocol with just using re in route map object
Replace the source_protocol with just saving a pointer to the re
in the `struct zebra_rmap_obj` data structure.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_nhg.c')
-rw-r--r-- | zebra/zebra_nhg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c index a701b582c..8c640f4e3 100644 --- a/zebra/zebra_nhg.c +++ b/zebra/zebra_nhg.c @@ -2703,8 +2703,8 @@ skip_check: } /* It'll get set if required inside */ - ret = zebra_route_map_check(family, re->type, re->instance, p, nexthop, - zvrf, re->tag); + ret = zebra_route_map_check(family, re, re->instance, p, nexthop, zvrf, + re->tag); if (ret == RMAP_DENYMATCH) { if (IS_ZEBRA_DEBUG_RIB) { zlog_debug( |