Skip to content

Commit 83cf4ab

Browse files
committed
fix compiler warning
1 parent 46d9039 commit 83cf4ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ipthelper/ip6tables.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,7 @@ int do_command6(int argc, char *argv[], char **table, void **handle)
17621762
continue;
17631763
}
17641764
fprintf(stderr, "Bad argument `%s'\n", optarg);
1765-
return NULL;
1765+
return 2;
17661766

17671767
default:
17681768
if (command_default(&cs, &iptables_globals) == 1)
@@ -1774,7 +1774,7 @@ int do_command6(int argc, char *argv[], char **table, void **handle)
17741774
continue;
17751775
break;
17761776
}
1777-
cs.invert = FALSE;
1777+
cs.invert = 2;
17781778
}
17791779

17801780
for (matchp = cs.matches; matchp; matchp = matchp->next)

0 commit comments

Comments
 (0)