diff options
author | Maria Matejka <mq@ucw.cz> | 2023-03-08 21:38:18 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-04-04 17:00:58 +0200 |
commit | 97d2875e999487bfe91f16c77c409ac0080541d3 (patch) | |
tree | da69c481133162c2c7621095ba04ca49aa77b880 /nest/rt-table.c | |
parent | aa5fc3b99d9bada123cb4b7030fa0c8ba5fae2ea (diff) |
Fixed bad filter re-evaluation with import table if filtered->accepted
The import table feed wasn't resetting the table-specific route values
like REF_FILTERED and thus made the route look like filtered even though
it should have been re-evaluated as accepted.
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 3428c122..218fcbe7 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -4406,8 +4406,10 @@ void channel_reload_export_bulk(struct rt_export_request *req, const net_addr *n for (uint i=0; i<count; i++) if (feed[i]->sender == c->in_req.hook) { + /* Strip the table-specific information */ + rte new = rte_init_from(feed[i]); + /* Strip the later attribute layers */ - rte new = *feed[i]; while (new.attrs->next) new.attrs = new.attrs->next; |