summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/ebtablesd.c
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
commitea0490ce62b0e8c429fbeb9c76379b84633bab8c (patch)
tree9ee6eda78985606fdd3a852ce4939ff73c6b9729 /userspace/ebtables2/ebtablesd.c
parent8a6d8ef9eb83930a59dddb66657974ab0c6ca2db (diff)
set optind=0
Diffstat (limited to 'userspace/ebtables2/ebtablesd.c')
-rw-r--r--userspace/ebtables2/ebtablesd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/ebtables2/ebtablesd.c b/userspace/ebtables2/ebtablesd.c
index a6a3eae..6683611 100644
--- a/userspace/ebtables2/ebtablesd.c
+++ b/userspace/ebtables2/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: