From 4eb45d2d4a99209bc7a67994a171187095af005d Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Thu, 22 Jun 2017 13:02:33 +0100 Subject: [PATCH] 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 --- examples/l2fwd-crypto/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1