summaryrefslogtreecommitdiffstats
path: root/examples/qos_meter/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qos_meter/main.c')
-rw-r--r--examples/qos_meter/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qos_meter/main.c b/examples/qos_meter/main.c
index 9ef55902..d8a2107d 100644
--- a/examples/qos_meter/main.c
+++ b/examples/qos_meter/main.c
@@ -300,7 +300,7 @@ parse_args(int argc, char **argv)
argv[optind-1] = prgname;
- optind = 0; /* reset getopt lib */
+ optind = 1; /* reset getopt lib */
return 0;
}