From eb937358c087eaeb6f209660cc7ecfe6d6eff739 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 10 Feb 2020 08:41:05 +0100 Subject: Preference moved to RTA and set explicitly in protocols --- proto/rpki/rpki.c | 1 + 1 file changed, 1 insertion(+) (limited to 'proto/rpki/rpki.c') diff --git a/proto/rpki/rpki.c b/proto/rpki/rpki.c index ab0837f3..fefea4b4 100644 --- a/proto/rpki/rpki.c +++ b/proto/rpki/rpki.c @@ -122,6 +122,7 @@ rpki_table_add_roa(struct rpki_cache *cache, struct channel *channel, const net_ rta a0 = { .src = p->p.main_source, + .pref = channel->preference, .source = RTS_RPKI, .scope = SCOPE_UNIVERSE, .dest = RTD_NONE, -- cgit v1.2.3