Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
958cff7
)
vat: remove the endiness for u8
59/14759/2
author
Mohsin Kazmi
<sykazmi@cisco.com>
Tue, 11 Sep 2018 11:06:42 +0000
(13:06 +0200)
committer
Neale Ranns
<nranns@cisco.com>
Tue, 11 Sep 2018 14:40:46 +0000
(14:40 +0000)
Change-Id: I9636a4e631cacf22d3189e292888c34f615298b0
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
src/vat/api_format.c
patch
|
blob
|
history
diff --git
a/src/vat/api_format.c
b/src/vat/api_format.c
index
43b7d53
..
bb070ed
100644
(file)
--- a/
src/vat/api_format.c
+++ b/
src/vat/api_format.c
@@
-7757,7
+7757,7
@@
static void vl_api_bd_ip_mac_details_t_handler_json
vat_json_init_object (node);
vat_json_object_add_uint (node, "bd_id", ntohl (mp->bd_id));
- vat_json_object_add_uint (node, "is_ipv6",
ntohl (mp->is_ipv6)
);
+ vat_json_object_add_uint (node, "is_ipv6",
mp->is_ipv6
);
vat_json_object_add_string_copy (node, "mac_address",
format (0, "%U", format_ethernet_address,
&mp->mac_address));