From 2fb40f80ff30cfacdaa6741d3520ecd2df71d986 Mon Sep 17 00:00:00 2001 From: Jon Loeliger Date: Fri, 12 May 2017 14:03:16 -0500 Subject: Add a missing byte-swap call in ACL intf dump. Change-Id: I87495d95dc6c5a36ff6d2ae05203e22e43403bf6 Signed-off-by: Jon Loeliger --- src/plugins/acl/acl_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; icount; 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 "); } -- cgit 1.2.3-korg