summaryrefslogtreecommitdiffstats
path: root/src/plugins/acl/acl_test.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-03-08 17:45:33 +0100
committerNeale Ranns <nranns@cisco.com>2018-03-09 10:38:46 +0000
commit8f931a47b0fa58d5d33a792062650a42ff8bef70 (patch)
tree47f4733a81ae8577a954831705fe4b725fcd78ae /src/plugins/acl/acl_test.c
parent7cf80e08b61c7c48ab834af23b3c7761634e63d2 (diff)
ACL: Fix the detail for ethertype whitelist
Change-Id: Ie8b4effbd25e1e26b625d451ec059bac58a5a5a1 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/plugins/acl/acl_test.c')
-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 1b565995308..2c0687d9e7d 100644
--- 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);