vat: remove the endiness for u8 59/14759/2
authorMohsin Kazmi <[email protected]>
Tue, 11 Sep 2018 11:06:42 +0000 (13:06 +0200)
committerNeale Ranns <[email protected]>
Tue, 11 Sep 2018 14:40:46 +0000 (14:40 +0000)
Change-Id: I9636a4e631cacf22d3189e292888c34f615298b0
Signed-off-by: Mohsin Kazmi <[email protected]>
src/vat/api_format.c

index 43b7d53..bb070ed 100644 (file)
@@ -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));