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: fix optind reset
[dpdk.git]
/
examples
/
ip_pipeline
/
config_parse.c
diff --git
a/examples/ip_pipeline/config_parse.c
b/examples/ip_pipeline/config_parse.c
index
8b372e9
..
3ae7d48
100644
(file)
--- a/
examples/ip_pipeline/config_parse.c
+++ b/
examples/ip_pipeline/config_parse.c
@@
-1,4
+1,4
@@
-
/*-
+/*-
* BSD LICENSE
*
* Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
* BSD LICENSE
*
* Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
@@
-3407,7
+3407,7
@@
app_config_args(struct app_params *app, int argc, char **argv)
app_print_usage(argv[0]);
}
app_print_usage(argv[0]);
}
- optind =
0
; /* reset getopt lib */
+ optind =
1
; /* reset getopt lib */
/* Check dependencies between args */
if (preproc_params_present && (preproc_present == 0))
/* Check dependencies between args */
if (preproc_params_present && (preproc_present == 0))