[netfilter-cvslog] r6575 - trunk/iptables/extensions
kaber at netfilter.org
kaber at netfilter.org
Fri Mar 31 03:31:35 CEST 2006
Author: kaber at netfilter.org
Date: 2006-03-31 03:31:29 +0200 (Fri, 31 Mar 2006)
New Revision: 6575
Modified:
trunk/iptables/extensions/libipt_osf.c
Log:
[PATCH]: Correct iptables-save output of osf module (Daniel De Graaf)
Modified: trunk/iptables/extensions/libipt_osf.c
===================================================================
--- trunk/iptables/extensions/libipt_osf.c 2006-03-29 12:42:09 UTC (rev 6574)
+++ trunk/iptables/extensions/libipt_osf.c 2006-03-31 01:31:29 UTC (rev 6575)
@@ -134,6 +134,14 @@
const struct ipt_osf_info *info = (const struct ipt_osf_info*) match->data;
printf("--genre %s%s ", (info->invert) ? "! ": "", info->genre);
+ if (info->flags & IPT_OSF_SMART)
+ printf("--smart ");
+ if (info->flags & IPT_OSF_LOG)
+ printf("--log %d ", info->loglevel);
+ if (info->flags & IPT_OSF_NETLINK)
+ printf("--netlink ");
+ if (info->flags & IPT_OSF_CONNECTOR)
+ printf("--connector ");
}
More information about the netfilter-cvslog
mailing list