summaryrefslogtreecommitdiffstats
path: root/src/vat/api_format.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-06-15 15:07:32 -0700
committerDamjan Marion <dmarion.lists@gmail.com>2017-06-16 18:14:00 +0000
commitf53a8adf13175a376913e63b13671b2d8ad6377d (patch)
treecb5b8f486efb4db7b6200bc0c08034a828b537db /src/vat/api_format.c
parentb5c29f9c2218e6242d5f126bc490abf27fd39f4c (diff)
Fix vni/dp_table endianness for gpe iface addition (VPP-882)
Change-Id: I2b78dad740b67fc05b0e2cf9c180809bc0962cd5 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vat/api_format.c')
-rw-r--r--src/vat/api_format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c
index d31b301e0ed..0a38353c07a 100644
--- a/src/vat/api_format.c
+++ b/src/vat/api_format.c
@@ -15950,9 +15950,9 @@ api_lisp_gpe_add_del_iface (vat_main_t * vam)
M (GPE_ADD_DEL_IFACE, mp);
mp->is_add = is_add;
- mp->dp_table = dp_table;
+ mp->dp_table = clib_host_to_net_u32 (dp_table);
mp->is_l2 = is_l2;
- mp->vni = vni;
+ mp->vni = clib_host_to_net_u32 (vni);
/* send it... */
S (mp);