]> git.droids-corp.org - dpdk.git/blobdiff - examples/l2fwd-crypto/main.c
examples/l2fwd-crypto: fix auth info display
[dpdk.git] / examples / l2fwd-crypto / main.c
index 841ec6eea4207e90ed770d9a8ab3b8720f060d7f..779b4fb5cbe84668e8253ed7b2302af60cb3e24c 100644 (file)
@@ -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);