From 337c04c45e1472d6d9b531a3c55f1f2d30ebf308 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 20 Apr 2022 12:24:26 +0200 Subject: Moved route preference to eattrs --- sysdep/unix/krt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdep/unix') diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index 4da51ce2..b8e7670e 100644 --- a/sysdep/unix/krt.c +++ b/sysdep/unix/krt.c @@ -438,7 +438,7 @@ krt_learn_async(struct krt_proto *p, rte *e, int new) rte *g, **gg, *best, **bestp, *old_best; ASSERT(!e->attrs->cached); - e->attrs->pref = p->p.main_channel->preference; + ea_set_attr_u32(&e->attrs->eattrs, &ea_gen_preference, 0, p->p.main_channel->preference); e->attrs = rta_lookup(e->attrs); -- cgit v1.2.3