rte_update(p->p.main_channel, n, NULL, p->p.main_source);
}
- e->attrs->pref = p->p.main_channel->preference;
+static struct rte_storage *
+krt_store_async(struct krt_proto *p, net *n, rte *e)
+{
+ ASSERT(!e->attrs->cached);
++ ea_set_attr_u32(&e->attrs->eattrs, &ea_gen_preference, 0, p->p.main_channel->preference);
+ e->src = p->p.main_source;
+ return rte_store(e, n, p->krt_table);
+}
+
/* Called when alien route is discovered during scan */
static void
krt_learn_scan(struct krt_proto *p, rte *e)