From: Pablo de Lara Date: Thu, 22 Jun 2017 12:02:33 +0000 (+0100) Subject: examples/l2fwd-crypto: fix auth info display X-Git-Tag: spdx-start~2935 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4eb45d2d4a99209bc7a67994a171187095af005d;p=dpdk.git examples/l2fwd-crypto: fix auth info display Fixes: 4790f99d2d31 ("examples/l2fwd-crypto: use cryptodev algorithm parser") Cc: stable@dpdk.org Signed-off-by: Pablo de Lara Acked-by: Fiona Trahe --- diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index 841ec6eea4..779b4fb5cb 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -1263,7 +1263,7 @@ display_auth_info(struct l2fwd_crypto_options *options) { printf("\n---- Authentication information ---\n"); printf("Algorithm: %s\n", - rte_crypto_auth_algorithm_strings[options->auth_xform.cipher.algo]); + rte_crypto_auth_algorithm_strings[options->auth_xform.auth.algo]); rte_hexdump(stdout, "Auth key:", options->auth_xform.auth.key.data, options->auth_xform.auth.key.length);