SOURCES: iptables-IPMARK.patch - ported to xtables (iptables 1.4.1)
zbyniu
zbyniu at pld-linux.org
Wed May 21 21:09:09 CEST 2008
Author: zbyniu Date: Wed May 21 19:09:08 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- ported to xtables (iptables 1.4.1)
---- Files affected:
SOURCES:
iptables-IPMARK.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/iptables-IPMARK.patch
diff -u SOURCES/iptables-IPMARK.patch:1.1 SOURCES/iptables-IPMARK.patch:1.2
--- SOURCES/iptables-IPMARK.patch:1.1 Wed May 21 20:43:38 2008
+++ SOURCES/iptables-IPMARK.patch Wed May 21 21:09:02 2008
@@ -39,7 +39,7 @@
+" --and-mask value logical AND ip address with this value becomes MARK\n"
+" --or-mask value logical OR ip address with this value becomes MARK\n"
+"\n",
-+IPTABLES_VERSION);
++XTABLES_VERSION);
+}
+
+static struct option opts[] = {
@@ -173,10 +173,10 @@
+ printf("--or-mask 0x%lx ", ipmarkinfo->ormask);
+}
+
-+static struct iptables_target ipmark = {
++static struct xtables_target ipmark = {
+ .next = NULL,
+ .name = "IPMARK",
-+ .version = IPTABLES_VERSION,
++ .version = XTABLES_VERSION,
+ .size = IPT_ALIGN(sizeof(struct ipt_ipmark_target_info)),
+ .userspacesize = IPT_ALIGN(sizeof(struct ipt_ipmark_target_info)),
+ .help = &help,
@@ -190,7 +190,7 @@
+
+void _init(void)
+{
-+ register_target(&ipmark);
++ xtables_register_target(&ipmark);
+}
diff -uprN iptables./extensions/libipt_IPMARK.man iptables/extensions/libipt_IPMARK.man
--- iptables./extensions/libipt_IPMARK.man 1970-01-01 01:00:00.000000000 +0100
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/iptables-IPMARK.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list