aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorJon Loeliger <jdl@netgate.com>2017-05-12 14:03:16 -0500
committerDamjan Marion <dmarion.lists@gmail.com>2017-05-15 16:54:45 +0000
commit2fb40f80ff30cfacdaa6741d3520ecd2df71d986 (patch)
tree57c0c3254a968a0c1e5ef935e5de508db0005dbb /src/plugins
parentf195a5693450083c7c6840c5aab02bfe5088cb40 (diff)
Add a missing byte-swap call in ACL intf dump.
Change-Id: I87495d95dc6c5a36ff6d2ae05203e22e43403bf6 Signed-off-by: Jon Loeliger <jdl@netgate.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/acl/acl_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/acl/acl_test.c b/src/plugins/acl/acl_test.c
index 847c5b59fed..6154a238ff9 100644
--- a/src/plugins/acl/acl_test.c
+++ b/src/plugins/acl/acl_test.c
@@ -144,7 +144,7 @@ static void vl_api_acl_interface_list_details_t_handler
out = format(out, "sw_if_index: %d, count: %d, n_input: %d\n", mp->sw_if_index, mp->count, mp->n_input);
out = format(out, " input ");
for(i=0; i<mp->count; i++) {
- out = format(out, "%d ", mp->acls[i]);
+ out = format(out, "%d ", ntohl (mp->acls[i]));
if (i == mp->n_input-1)
out = format(out, "\n output ");
}