diff options
Diffstat (limited to 'ip6tables-restore.c')
-rw-r--r-- | ip6tables-restore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c index 906f93e..76dddcb 100644 --- a/ip6tables-restore.c +++ b/ip6tables-restore.c @@ -7,7 +7,7 @@ * Rusty Russell <rusty@linuxcare.com.au> * This code is distributed under the terms of GNU GPL v2 * - * $Id: ip6tables-restore.c,v 1.21 2004/02/02 20:14:56 gandalf Exp $ + * $Id: ip6tables-restore.c,v 1.22 2004/05/26 16:04:48 gandalf Exp $ */ #include <getopt.h> @@ -228,7 +228,7 @@ int main(int argc, char *argv[]) exit(1); } - if (!ip6tc_builtin(chain, handle)) { + if (ip6tc_builtin(chain, handle) <= 0) { DEBUGP("Creating new chain '%s'\n", chain); if (!ip6tc_create_chain(chain, &handle)) exit_error(PARAMETER_PROBLEM, |