mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 18:48:14 +00:00
zebra: fix processing of labeled ipv6 routes
We're incrementing nh_count twice for the same nexthop. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
cf4e348abb
commit
4038e8046d
@ -1609,7 +1609,7 @@ zread_ipv6_add (struct zserv *client, u_short length, struct zebra_vrf *zvrf)
|
||||
if (CHECK_FLAG (message, ZAPI_MESSAGE_LABEL))
|
||||
{
|
||||
label = (mpls_label_t)stream_getl (s);
|
||||
labels[nh_count++] = label;
|
||||
labels[nh_count] = label;
|
||||
}
|
||||
nexthops[nh_count++] = nhop_addr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user