summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
Diffstat (limited to 'ifpps.c')
-rw-r--r--ifpps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ifpps.c b/ifpps.c
index df6fe42..55c247b 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -1338,7 +1338,7 @@ static int term_main(const char *ifname, uint64_t ms_interval,
int main(int argc, char **argv)
{
short ifflags = 0;
- int c, opt_index, ret, promisc = 0;
+ int c, ret, promisc = 0;
unsigned int cpus, top_cpus = 5;
uint64_t interval = 1000;
char *ifname = NULL;
@@ -1354,7 +1354,7 @@ int main(int argc, char **argv)
setfsgid(getgid());
while ((c = getopt_long(argc, argv, short_options, long_options,
- &opt_index)) != EOF) {
+ NULL)) != EOF) {
switch (c) {
case 'h':
help();