diff options
author | laforge <laforge> | 2002-03-14 11:35:58 +0000 |
---|---|---|
committer | laforge <laforge> | 2002-03-14 11:35:58 +0000 |
commit | 01608a86ae513b512ec966845e86a8490dc502f8 (patch) | |
tree | 32821b41042796995881aabc74f6821e7603b288 /include | |
parent | b57c177708274e319680a5ac425fabbcbee7edb1 (diff) |
Fix 'iptables -p !' bug (segfault when `!' used without argument)
Diffstat (limited to 'include')
-rw-r--r-- | include/iptables_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/iptables_common.h b/include/iptables_common.h index 12b5797..25f23c3 100644 --- a/include/iptables_common.h +++ b/include/iptables_common.h @@ -9,7 +9,7 @@ enum exittype { }; extern void exit_printhelp() __attribute__((noreturn)); extern void exit_tryhelp(int) __attribute__((noreturn)); -int check_inverse(const char option[], int *invert); +int check_inverse(const char option[], int *invert, int *optind, int argc); extern int string_to_number(const char *, unsigned int, unsigned int, |