Imported Upstream version 17.05
[deb_dpdk.git] / examples / l2fwd-cat / cat.c
index bad3930..6133bf5 100644 (file)
@@ -686,7 +686,7 @@ parse_args(int argc, char **argv)
 
 exit:
        /* reset getopt lib */
-       optind = 0;
+       optind = 1;
 
        /* Restore opterr value */
        opterr = oldopterr;