mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 16:39:33 +00:00
bgpd: fix style for 0f19a8
:| Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
cacbdfb14d
commit
dbd587dabc
@ -3452,7 +3452,8 @@ int bgp_update(struct peer *peer, struct prefix *p, uint32_t addpath_id,
|
|||||||
if (has_valid_label) {
|
if (has_valid_label) {
|
||||||
extra = bgp_path_info_extra_get(new);
|
extra = bgp_path_info_extra_get(new);
|
||||||
if (extra->label != label) {
|
if (extra->label != label) {
|
||||||
memcpy(&extra->label, label, num_labels * sizeof(mpls_label_t));
|
memcpy(&extra->label, label,
|
||||||
|
num_labels * sizeof(mpls_label_t));
|
||||||
extra->num_labels = num_labels;
|
extra->num_labels = num_labels;
|
||||||
}
|
}
|
||||||
if (!(afi == AFI_L2VPN && safi == SAFI_EVPN))
|
if (!(afi == AFI_L2VPN && safi == SAFI_EVPN))
|
||||||
|
Loading…
Reference in New Issue
Block a user