aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/acl/acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/acl/acl.c')
-rw-r--r--src/plugins/acl/acl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/acl/acl.c b/src/plugins/acl/acl.c
index 5ab38ef6e56..1ad9ddffe29 100644
--- a/src/plugins/acl/acl.c
+++ b/src/plugins/acl/acl.c
@@ -2744,11 +2744,11 @@ send_acl_interface_etype_whitelist_details (acl_main_t * am,
mp->n_input = n_input;
for (i = 0; i < n_input; i++)
{
- mp->whitelist[i] = whitelist_in[i];
+ mp->whitelist[i] = htons (whitelist_in[i]);
}
for (i = 0; i < n_output; i++)
{
- mp->whitelist[n_input + i] = whitelist_out[i];
+ mp->whitelist[n_input + i] = htons (whitelist_out[i]);
}
clib_mem_set_heap (oldheap);
vl_api_send_msg (reg, (u8 *) mp);