mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 19:39:28 +00:00
commit
fd2d11fb27
@ -3455,7 +3455,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))
|
||||||
|
@ -7090,8 +7090,9 @@ void zebra_vxlan_print_vnis_detail(struct vty *vty, struct zebra_vrf *zvrf,
|
|||||||
zes.zvrf = zvrf;
|
zes.zvrf = zvrf;
|
||||||
|
|
||||||
/* Display all L2-VNIs */
|
/* Display all L2-VNIs */
|
||||||
hash_iterate(zvrf->vni_table, (void (*)(struct hash_bucket *,
|
hash_iterate(
|
||||||
void *))zvni_print_hash_detail,
|
zvrf->vni_table,
|
||||||
|
(void (*)(struct hash_bucket *, void *))zvni_print_hash_detail,
|
||||||
&zes);
|
&zes);
|
||||||
|
|
||||||
/* Display all L3-VNIs */
|
/* Display all L3-VNIs */
|
||||||
@ -7101,7 +7102,8 @@ void zebra_vxlan_print_vnis_detail(struct vty *vty, struct zebra_vrf *zvrf,
|
|||||||
&zes);
|
&zes);
|
||||||
|
|
||||||
if (use_json) {
|
if (use_json) {
|
||||||
vty_out(vty, "%s\n", json_object_to_json_string_ext(
|
vty_out(vty, "%s\n",
|
||||||
|
json_object_to_json_string_ext(
|
||||||
json, JSON_C_TO_STRING_PRETTY));
|
json, JSON_C_TO_STRING_PRETTY));
|
||||||
json_object_free(json);
|
json_object_free(json);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user