summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2019-02-15 13:53:17 +0100
committerMaria Matejka <mq@ucw.cz>2019-02-20 22:30:55 +0100
commit0b39b1cbb70c6f37a30a3130e1c308ddd0ba36de (patch)
tree3eae8f33016a86cda9577620b27a8301f2b1d5cb /nest/route.h
parent132529ce8908661fd2baa0758c335006fb039ef0 (diff)
Conf: Symbol implementation converted from void pointers to union
... and consted some declarations.
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/route.h b/nest/route.h
index c7ed80ff..7c9f3005 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -297,7 +297,7 @@ rte *rte_find(net *net, struct rte_src *src);
rte *rte_get_temp(struct rta *);
void rte_update2(struct channel *c, const net_addr *n, rte *new, struct rte_src *src);
/* rte_update() moved to protocol.h to avoid dependency conflicts */
-int rt_examine(rtable *t, net_addr *a, struct proto *p, struct filter *filter);
+int rt_examine(rtable *t, net_addr *a, struct proto *p, const struct filter *filter);
rte *rt_export_merged(struct channel *c, net *net, rte **rt_free, linpool *pool, int silent);
void rt_refresh_begin(rtable *t, struct channel *c);
void rt_refresh_end(rtable *t, struct channel *c);
@@ -335,7 +335,7 @@ struct rt_show_data {
struct rt_show_data_rtable *last_table; /* Last table in output */
struct fib_iterator fit; /* Iterator over networks in table */
int verbose, tables_defined_by;
- struct filter *filter;
+ const struct filter *filter;
struct proto *show_protocol;
struct proto *export_protocol;
struct channel *export_channel;