]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Use FF_FORCE_TMPATTR where appropriate.
authorMartin Mares <mj@ucw.cz>
Thu, 30 Mar 2000 08:50:46 +0000 (08:50 +0000)
committerMartin Mares <mj@ucw.cz>
Thu, 30 Mar 2000 08:50:46 +0000 (08:50 +0000)
nest/rt-table.c

index 687e9402a6f204a90714eaff17f35379df044766..68ef52a943c3221bcfc5cd70e2088c3e19a45636 100644 (file)
@@ -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;
        }
     }