From 20445071ce1f20693529e3bf593b6fcd99e93f88 Mon Sep 17 00:00:00 2001 From: Carsten Wolfrum Date: Tue, 19 May 2020 17:08:38 +0200 Subject: [PATCH] Changed filters from const to non-const --- nest/rt-table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nest/rt-table.c b/nest/rt-table.c index 7d50473d..50cc4725 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -572,7 +572,7 @@ static rte * export_filter_(struct channel *c, rte *rt0, rte **rt_free, linpool *pool, int silent) { struct proto *p = c->proto; - const struct filter *filter = c->out_filter.filter; + struct filter *filter = c->out_filter.filter; struct proto_stats *stats = &c->stats; rte *rt; int v; @@ -1552,7 +1552,7 @@ rte_update2(struct channel *c, const net_addr *n, rte *new, struct rte_src *src) { struct proto *p = c->proto; struct proto_stats *stats = &c->stats; - const struct filter *filter = c->in_filter.filter; + struct filter *filter = c->in_filter.filter; rte *dummy = NULL; net *nn;