diff options
author | Silvan Minghetti <bullet@users.sourceforge.net> | 2002-04-10 13:12:53 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2002-04-10 13:12:53 +0000 |
commit | 5cc4f7ef79a227e1825dd4496ca5c72a31400af8 (patch) | |
tree | 06b7e8bc75a86de61e12916b3181aff5abd96123 /extensions/libipt_owner.c | |
parent | 9608bd0e4f3e45e4cba15e184441558709aa1b7c (diff) |
Fix gcc3 compile errors (Silvan Minghetti)
Diffstat (limited to 'extensions/libipt_owner.c')
-rw-r--r-- | extensions/libipt_owner.c | 13 |
1 files changed, 11 insertions, 2 deletions
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[] = { |