1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Preference moved to RTA and set explicitly in protocols

This commit is contained in:
Maria Matejka
2020-02-10 08:41:05 +01:00
committed by Maria Matejka
parent d5a32563df
commit eb937358c0
20 changed files with 59 additions and 73 deletions

View File

@@ -84,6 +84,7 @@ dev_ifa_notify(struct proto *P, uint flags, struct ifa *ad)
rta a0 = {
.src = src,
.pref = c->preference,
.source = RTS_DEVICE,
.scope = SCOPE_UNIVERSE,
.dest = RTD_UNICAST,