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

Merge commit '938742decc6e1d6d3a0375dd012b75172e747bbc' into haugesund

This commit is contained in:
Maria Matejka
2022-06-08 15:31:28 +02:00
27 changed files with 337 additions and 503 deletions

View File

@@ -447,11 +447,11 @@ radv_rt_notify(struct proto *P, struct channel *ch UNUSED, const net_addr *n, rt
{
/* Update */
ea = ea_find(new->attrs->eattrs, &ea_radv_preference);
ea = ea_find(new->attrs, &ea_radv_preference);
uint preference = ea ? ea->u.data : RA_PREF_MEDIUM;
uint preference_set = !!ea;
ea = ea_find(new->attrs->eattrs, &ea_radv_lifetime);
ea = ea_find(new->attrs, &ea_radv_lifetime);
uint lifetime = ea ? ea->u.data : 0;
uint lifetime_set = !!ea;