From 5cc4f7ef79a227e1825dd4496ca5c72a31400af8 Mon Sep 17 00:00:00 2001 From: Silvan Minghetti Date: Wed, 10 Apr 2002 13:12:53 +0000 Subject: Fix gcc3 compile errors (Silvan Minghetti) --- extensions/libipt_owner.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'extensions/libipt_owner.c') diff --git a/extensions/libipt_owner.c b/extensions/libipt_owner.c index 96631220..334c3369 100644 --- a/extensions/libipt_owner.c +++ b/extensions/libipt_owner.c @@ -14,17 +14,26 @@ static void help(void) { +#ifdef IPT_OWNER_COMM printf( "OWNER match v%s options:\n" "[!] --uid-owner userid Match local uid\n" "[!] --gid-owner groupid Match local gid\n" "[!] --pid-owner processid Match local pid\n" "[!] --sid-owner sessionid Match local sid\n" -#ifdef IPT_OWNER_COMM "[!] --cmd-owner name Match local command name\n" -#endif "\n", NETFILTER_VERSION); +#else + printf( +"OWNER match v%s options:\n" +"[!] --uid-owner userid Match local uid\n" +"[!] --gid-owner groupid Match local gid\n" +"[!] --pid-owner processid Match local pid\n" +"[!] --sid-owner sessionid Match local sid\n" +"\n", +NETFILTER_VERSION); +#endif /* IPT_OWNER_COMM */ } static struct option opts[] = { -- cgit v1.2.3