diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-30 08:50:46 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-30 08:50:46 +0000 |
commit | 3a6337ecb2f6e5c8454a8416214c60432611aaa6 (patch) | |
tree | fbb69a25117f3cbd40000f507990b784f6fab092 /nest | |
parent | 3076b5aedc1d348413276b361806053e80dca7c6 (diff) |
Use FF_FORCE_TMPATTR where appropriate.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/rt-table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 687e9402..68ef52a9 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -141,7 +141,7 @@ do_rte_announce(struct announce_hook *a, net *net, rte *new, rte *old, ea_list * else if (ok) rte_trace_out(D_FILTERS, p, new, "forced accept by protocol"); else if (p->out_filter == FILTER_REJECT || - p->out_filter && f_run(p->out_filter, &new, &tmpa, rte_update_pool, 0) > F_ACCEPT) + p->out_filter && f_run(p->out_filter, &new, &tmpa, rte_update_pool, FF_FORCE_TMPATTR) > F_ACCEPT) { rte_trace_out(D_FILTERS, p, new, "filtered out"); new = NULL; @@ -155,7 +155,7 @@ do_rte_announce(struct announce_hook *a, net *net, rte *new, rte *old, ea_list * else { ea_list *tmpb = p->make_tmp_attrs ? p->make_tmp_attrs(old, rte_update_pool) : NULL; - if (f_run(p->out_filter, &old, &tmpb, rte_update_pool, 0) > F_ACCEPT) + if (f_run(p->out_filter, &old, &tmpb, rte_update_pool, FF_FORCE_TMPATTR) > F_ACCEPT) old = NULL; } } |