Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
crypto: not use vec api with opt_data[VNET_CRYPTO_N_OP_IDS]
[vpp.git]
/
src
/
vnet
/
crypto
/
cli.c
diff --git
a/src/vnet/crypto/cli.c
b/src/vnet/crypto/cli.c
index
4b0e093
..
8d523ae
100644
(file)
--- a/
src/vnet/crypto/cli.c
+++ b/
src/vnet/crypto/cli.c
@@
-71,7
+71,7
@@
format_vnet_crypto_handlers (u8 * s, va_list * args)
if (id == 0)
continue;
- od =
vec_elt_at_index (cm->opt_data, id)
;
+ od =
cm->opt_data + id
;
if (first == 0)
s = format (s, "\n%U", format_white_space, indent);
s = format (s, "%-20U%-20U", format_vnet_crypto_op_type, od->type,