*
* libipt_ECN.c borrowed heavily from libipt_DSCP.c
*
- * $Id: libipt_ECN.c,v 1.1 2002/02/17 21:32:32 laforge Exp $
+ * $Id: libipt_ECN.c,v 1.2 2002/02/18 21:32:56 laforge Exp $
*/
#include <stdio.h>
#include <string.h>
case IPT_ECN_OP_REMOVE:
printf("--ecn-remove ");
break;
- default:
}
}
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[] = {