This piece of code was accidentally reintroduced in
da838bca052b3b1e5533e2900299b4140e2d5d13 CLI: fix channel stats display
and not only is obviously not relevant to that commit, it is also
obviously wrong because exactly the same nullification has been pushed
later to rt_notify_basic().
rt_export_processed(&c->out_req, rpe->it.seq);
}
- /* Have we exported the old route? */
- if (old && !bmap_test(&c->export_accepted_map, old->id))
- old = NULL;
-
/* Ignore invalid routes */
if (!rte_is_valid(new))
new = NULL;