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
/
l2fwd-cat
/
cat.c
diff --git
a/examples/l2fwd-cat/cat.c
b/examples/l2fwd-cat/cat.c
index
bad3930
..
6133bf5
100644
(file)
--- a/
examples/l2fwd-cat/cat.c
+++ b/
examples/l2fwd-cat/cat.c
@@
-686,7
+686,7
@@
parse_args(int argc, char **argv)
exit:
/* reset getopt lib */
- optind =
0
;
+ optind =
1
;
/* Restore opterr value */
opterr = oldopterr;