summaryrefslogtreecommitdiffstats
path: root/ebtables-restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'ebtables-restore.c')
-rw-r--r--ebtables-restore.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ebtables-restore.c b/ebtables-restore.c
index 37f88f5..c0f9f6b 100644
--- a/ebtables-restore.c
+++ b/ebtables-restore.c
@@ -90,9 +90,8 @@ int main(int argc_, char *argv_[])
}
if (i == NUM_STANDARD_TARGETS)
ebtrest_print_error("invalid policy specified");
- if (ebt_get_chainnr(&replace[table_nr], cmdline+1) == -1) {
+ if (ebt_get_chainnr(&replace[table_nr], cmdline+1) == -1)
ebt_new_chain(&replace[table_nr], cmdline+1, policy);
- }
continue;
}
argv[1] = cmdline;