diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-08-11 11:11:40 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-08-11 11:11:40 -0400 |
| commit | cad4d0c3327d6985446c949bc087a277ce9bb930 (patch) | |
| tree | 1118a881d41a20f00991277e7d6e149c3976bc1d /zebra/zebra_nhg.c | |
| parent | 8d56ba855b21882c9f9195e27b324d6af4741938 (diff) | |
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 a701b582ce..8c640f4e32 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( |
