Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
acl-plugin: autosize the ACL plugin heap and fix the heap size types and parsing
[vpp.git]
/
src
/
plugins
/
acl
/
acl_test.c
diff --git
a/src/plugins/acl/acl_test.c
b/src/plugins/acl/acl_test.c
index
1b56599
..
2c0687d
100644
(file)
--- a/
src/plugins/acl/acl_test.c
+++ b/
src/plugins/acl/acl_test.c
@@
-167,7
+167,7
@@
static void vl_api_acl_interface_etype_whitelist_details_t_handler
for(i=0; i<mp->count; i++) {
if (i == mp->n_input)
out = format(out, "\n output ");
- out = format(out, "%04x ",
mp->whitelist[i]
);
+ out = format(out, "%04x ",
ntohs(mp->whitelist[i])
);
}
out = format(out, "\n");
clib_warning("%s", out);