summaryrefslogtreecommitdiffstats
path: root/ebtablesd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ebtablesd.c')
-rw-r--r--ebtablesd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebtablesd.c b/ebtablesd.c
index a6a3eae..6683611 100644
--- a/ebtablesd.c
+++ b/ebtablesd.c
@@ -347,7 +347,7 @@ continue_read:
"opened", replace[table_nr].name);
goto write_msg;
}
- optind = 1;
+ optind = 0; /* Setting optind = 1 causes serious annoyances */
do_command(argc, argv, EXEC_STYLE_DAEMON, &replace[table_nr]);
ebt_reinit_extensions();
write_msg: