summaryrefslogtreecommitdiff
path: root/nest/rt-show.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-05-30 16:41:15 +0200
committerMaria Matejka <mq@ucw.cz>2022-05-30 16:41:15 +0200
commite16e1e4138cf10fd8f2508fa0e41e5ec98de6d53 (patch)
tree9c09bc2b7ebe25e072d47ec58d5841b25e4960b7 /nest/rt-show.c
parent0097f24e2e8b3feb56d4ae5c5b56a8defd9f7d2e (diff)
parentf2f3163f6c3fba7f9ef03640d7b2f6323873d2cc (diff)
Merge commit 'f2f3163f6c3fba7f9ef03640d7b2f6323873d2cc' into haugesund
Diffstat (limited to 'nest/rt-show.c')
-rw-r--r--nest/rt-show.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-show.c b/nest/rt-show.c
index 8c25375f..26180a8d 100644
--- a/nest/rt-show.c
+++ b/nest/rt-show.c
@@ -198,7 +198,7 @@ rt_show_net(struct cli *c, net *n, struct rt_show_data *d)
* command may change the export filter and do not update routes.
*/
int do_export = (ic > 0) ||
- (f_run(ec->out_filter, &e, c->show_pool, FF_SILENT) <= F_ACCEPT);
+ (f_run(ec->out_filter, &e, FF_SILENT) <= F_ACCEPT);
if (do_export != (d->export_mode == RSEM_EXPORT))
goto skip;
@@ -211,7 +211,7 @@ rt_show_net(struct cli *c, net *n, struct rt_show_data *d)
if (d->show_protocol && (d->show_protocol != e.src->proto))
goto skip;
- if (f_run(d->filter, &e, c->show_pool, 0) > F_ACCEPT)
+ if (f_run(d->filter, &e, 0) > F_ACCEPT)
goto skip;
if (d->stats < 2)