mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-17 21:38:11 +00:00
zebra: remove space from json string for show evpn mac vni <num> mac <mac>
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
This commit is contained in:
parent
24cdbd0d8b
commit
2961101952
@ -605,7 +605,7 @@ static void zvni_print_mac(zebra_mac_t *mac, void *ctxt, json_object *json)
|
|||||||
json_mac, "remoteVtep",
|
json_mac, "remoteVtep",
|
||||||
inet_ntoa(mac->fwd_info.r_vtep_ip));
|
inet_ntoa(mac->fwd_info.r_vtep_ip));
|
||||||
} else if (CHECK_FLAG(mac->flags, ZEBRA_MAC_AUTO))
|
} else if (CHECK_FLAG(mac->flags, ZEBRA_MAC_AUTO))
|
||||||
json_object_string_add(json_mac, "type", "auto mac");
|
json_object_string_add(json_mac, "type", "auto");
|
||||||
|
|
||||||
if (CHECK_FLAG(mac->flags, ZEBRA_MAC_STICKY))
|
if (CHECK_FLAG(mac->flags, ZEBRA_MAC_STICKY))
|
||||||
json_object_boolean_true_add(json_mac, "stickyMac");
|
json_object_boolean_true_add(json_mac, "stickyMac");
|
||||||
|
Loading…
Reference in New Issue
Block a user