summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-09-11 13:06:42 +0200
committerNeale Ranns <nranns@cisco.com>2018-09-11 14:40:46 +0000
commit0d8cbc1b1503b633fd024e498e7664b489841075 (patch)
tree3e81f851acf2a11157ebfc54126a8857d2849593 /src
parent958cff701dfb86f25407b14f7da5375a9503dfbe (diff)
vat: remove the endiness for u8
Change-Id: I9636a4e631cacf22d3189e292888c34f615298b0 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vat/api_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c
index 43b7d5307cc..bb070ed7b1d 100644
--- 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));