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:
@@ -58,19 +58,14 @@ pipe_rt_notify(struct proto *P, struct channel *src_ch, const net_addr *n, rte *
|
||||
|
||||
if (new)
|
||||
{
|
||||
rta *a = alloca(rta_size(new->attrs));
|
||||
memcpy(a, new->attrs, rta_size(new->attrs));
|
||||
|
||||
a->cached = 0;
|
||||
ea_unset_attr(&a->eattrs, 0, &ea_gen_hostentry);
|
||||
|
||||
|
||||
rte e0 = {
|
||||
.attrs = a,
|
||||
.attrs = new->attrs,
|
||||
.src = new->src,
|
||||
.generation = new->generation + 1,
|
||||
};
|
||||
|
||||
ea_unset_attr(&e0.attrs, 0, &ea_gen_hostentry);
|
||||
|
||||
rte_update(dst, n, &e0, new->src);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user