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/redistribute.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/redistribute.c')
| -rw-r--r-- | zebra/redistribute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c index 89394d5b22..c87da5ed6c 100644 --- a/zebra/redistribute.c +++ b/zebra/redistribute.c @@ -647,8 +647,8 @@ int zebra_add_import_table_entry(struct zebra_vrf *zvrf, struct route_node *rn, afi = family2afi(rn->p.family); if (rmap_name) - ret = zebra_import_table_route_map_check(afi, re->type, - re->instance, &rn->p, + ret = zebra_import_table_route_map_check(afi, re, re->instance, + &rn->p, re->nhe->nhg.nexthop, re->tag, rmap_name); |
