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

Nexthop: Support for label stack in nest

This commit is contained in:
Jan Moskyto Matejka
2016-06-10 14:34:41 +02:00
parent 5b208e296f
commit ec5e5d23fa
6 changed files with 83 additions and 29 deletions

View File

@@ -1782,7 +1782,7 @@ static inline rte *
rt_next_hop_update_rte(rtable *tab UNUSED, rte *old)
{
rta a;
memcpy(&a, old->attrs, sizeof(rta));
memcpy(&a, old->attrs, rta_size(old->attrs));
rta_apply_hostentry(&a, old->attrs->hostentry);
a.aflags = 0;