summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2005-01-23 19:08:14 +0000
committerBart De Schuymer <bdschuym@pandora.be>2005-01-23 19:08:14 +0000
commitb92edb805ca4bab30caa526a3beb3f4d14f258a0 (patch)
tree392ba7ec0ac4f4c194c7cd3822a617b1942cf43b
parent9ef397e2207b5ca867d8bb3033d1c80dc97123bc (diff)
set optind=0
-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: