Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f195a56
)
Add a missing byte-swap call in ACL intf dump.
73/6673/4
author
Jon Loeliger
<jdl@netgate.com>
Fri, 12 May 2017 19:03:16 +0000
(14:03 -0500)
committer
Damjan Marion
<dmarion.lists@gmail.com>
Mon, 15 May 2017 16:54:45 +0000
(16:54 +0000)
Change-Id: I87495d95dc6c5a36ff6d2ae05203e22e43403bf6
Signed-off-by: Jon Loeliger <jdl@netgate.com>
src/plugins/acl/acl_test.c
patch
|
blob
|
history
diff --git
a/src/plugins/acl/acl_test.c
b/src/plugins/acl/acl_test.c
index
847c5b5
..
6154a23
100644
(file)
--- 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 ");
}