From 01608a86ae513b512ec966845e86a8490dc502f8 Mon Sep 17 00:00:00 2001 From: laforge Date: Thu, 14 Mar 2002 11:35:58 +0000 Subject: Fix 'iptables -p !' bug (segfault when `!' used without argument) --- include/iptables_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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, -- cgit v1.2.3