File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -793,7 +793,7 @@ parse_auth_op(enum rte_crypto_auth_operation *op, char *optarg)
793
793
* op = RTE_CRYPTO_AUTH_OP_VERIFY ;
794
794
return 0 ;
795
795
} else if (strcmp ("GENERATE" , optarg ) == 0 ) {
796
- * op = RTE_CRYPTO_AUTH_OP_VERIFY ;
796
+ * op = RTE_CRYPTO_AUTH_OP_GENERATE ;
797
797
return 0 ;
798
798
}
799
799
@@ -831,11 +831,11 @@ l2fwd_crypto_parse_args_long_options(struct l2fwd_crypto_options *options,
831
831
832
832
/* Authentication options */
833
833
else if (strcmp (lgopts [option_index ].name , "auth_algo" ) == 0 )
834
- return parse_auth_algo (& options -> cipher_xform .auth .algo ,
834
+ return parse_auth_algo (& options -> auth_xform .auth .algo ,
835
835
optarg );
836
836
837
837
else if (strcmp (lgopts [option_index ].name , "auth_op" ) == 0 )
838
- return parse_auth_op (& options -> cipher_xform .auth .op ,
838
+ return parse_auth_op (& options -> auth_xform .auth .op ,
839
839
optarg );
840
840
841
841
else if (strcmp (lgopts [option_index ].name , "auth_key" ) == 0 )
You can’t perform that action at this time.
0 commit comments