mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge f97bbb8a25
into 3dd4d417be
This commit is contained in:
commit
557515df65
|
@ -8133,10 +8133,12 @@ vni_t bgp_evpn_path_info_get_l3vni(const struct bgp_path_info *pi)
|
|||
if (!pi->extra)
|
||||
return 0;
|
||||
|
||||
return label2vni(
|
||||
bgp_evpn_path_info_labels_get_l3vni(pi->extra->labels->label,
|
||||
pi->extra->labels
|
||||
->num_labels));
|
||||
mpls_label_t *label = bgp_evpn_path_info_labels_get_l3vni(pi->extra->labels->label,
|
||||
pi->extra->labels->num_labels);
|
||||
if (!label)
|
||||
return 0;
|
||||
|
||||
return label2vni(label);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue