summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/ebtables.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2003-07-25 12:53:17 +0000
committerBart De Schuymer <bdschuym@pandora.be>2003-07-25 12:53:17 +0000
commit9660903a1725ed3f0bb294c42706a0b3fd88a2c2 (patch)
tree2067273cdd167a5a6875368541893c5be6919a9c /userspace/ebtables2/ebtables.c
parentedb7360b057daec19e8af53a3207c52e9193e736 (diff)
fix -X udc
Diffstat (limited to 'userspace/ebtables2/ebtables.c')
-rw-r--r--userspace/ebtables2/ebtables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/ebtables2/ebtables.c b/userspace/ebtables2/ebtables.c
index 0c47526..f0e0ab9 100644
--- a/userspace/ebtables2/ebtables.c
+++ b/userspace/ebtables2/ebtables.c
@@ -1863,7 +1863,7 @@ int main(int argc, char *argv[])
int udc_nr;
if (!optarg && (optind >= argc ||
- (argv[optind][0] != '-'
+ (argv[optind][0] == '-'
&& strcmp(argv[optind], "!")))) {
delete_all_user_chains();
break;