X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=examples%2Fl2fwd-cat%2Fcat.c;h=6133bf5bbcbdc0d59e7741e76c0ec8c0121f5f66;hb=1fa013b446fa6f5bd74b99d5fb970bcf0b1ec370;hp=bad39305af7f12e5e630255d68cab2644a330680;hpb=5129044dce1f85ce4950f31bcf90f3886466f06a;p=deb_dpdk.git diff --git a/examples/l2fwd-cat/cat.c b/examples/l2fwd-cat/cat.c index bad39305..6133bf5b 100644 --- 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;