git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
examples/ip_pipeline: fix parsing of pass-through pipeline
[dpdk.git]
/
examples
/
ip_pipeline
/
pipeline
/
pipeline_passthrough_be.c
diff --git
a/examples/ip_pipeline/pipeline/pipeline_passthrough_be.c
b/examples/ip_pipeline/pipeline/pipeline_passthrough_be.c
index
8b71a7d
..
7ab0afe
100644
(file)
--- a/
examples/ip_pipeline/pipeline/pipeline_passthrough_be.c
+++ b/
examples/ip_pipeline/pipeline/pipeline_passthrough_be.c
@@
-589,7
+589,7
@@
pipeline_passthrough_parse_args(struct pipeline_passthrough_params *p,
params->name, arg_name);
dma_hash_lb_present = 1;
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,
strcmp(arg_value, "HASH"))
PIPELINE_PARSE_ERR_INV_VAL(0,