mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 18:10:23 +00:00
zebra: dont install implicit NULL labels non-vni
Don't install implict NULL labels with non-vni label'd routes. This returns behavior to how it was before adding the DVNI code. Ticket: #2677036 Testing Done: precommit, manual Signed-off-by: Stephen Worley <sworley@nvidia.com>
This commit is contained in:
parent
a26daa77cc
commit
582bb29ac7
@ -1333,7 +1333,7 @@ static int build_label_stack(struct mpls_label_stack *nh_label,
|
||||
int num_labels = 0;
|
||||
|
||||
for (int i = 0; nh_label && i < nh_label->num_labels; i++) {
|
||||
if (nh_label_type == ZEBRA_LSP_EVPN
|
||||
if (nh_label_type != ZEBRA_LSP_EVPN
|
||||
&& nh_label->label[i] == MPLS_LABEL_IMPLICIT_NULL)
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user