Imported Upstream version 16.11.1
[deb_dpdk.git] / examples / ip_pipeline / pipeline / pipeline_passthrough_be.c
index 8b71a7d..7ab0afe 100644 (file)
@@ -589,7 +589,7 @@ pipeline_passthrough_parse_args(struct pipeline_passthrough_params *p,
                                params->name, arg_name);
                        dma_hash_lb_present = 1;
 
-                       if (strcmp(arg_value, "hash") ||
+                       if (strcmp(arg_value, "hash") &&
                                strcmp(arg_value, "HASH"))
 
                                PIPELINE_PARSE_ERR_INV_VAL(0,