bugzilla-daemon@netfilter.org
2003-Jun-19 09:22 UTC
[Bug 100] New: NETFILTER_VERSION -> IPTABLES_VERSION in libipt_IPMARK.c
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=100 Summary: NETFILTER_VERSION -> IPTABLES_VERSION in libipt_IPMARK.c Product: iptables userspace Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: iptables AssignedTo: laforge@netfilter.org ReportedBy: ofudd@speed-test.net CC: netfilter-buglog@lists.netfilter.org I can't compile the CVS version of iptables, because NETFILTER_VERSION is not defined in the kernel or in the netfilter RCS tree. Changing it to be IPTABLES_VERSION fixes the problem. The file was put into the tree 18 days ago. See it at http://cvs.netfilter.org/netfilter/userspace/extensions/libipt_IPMARK.c?rev=1.1&content-type=text/x-cvsweb-markup Patch: ---------- diff -ruN netfilter/userspace/extensions/libipt_IPMARK.c netfilter.patched/userspace/extensions/libipt_IPMARK.c --- netfilter/userspace/extensions/libipt_IPMARK.c 2003-05-31 10:31:31.000000000 -0700 +++ netfilter.patched/userspace/extensions/libipt_IPMARK.c 2003-06-19 01:36:27.000000000 -0700 @@ -33,7 +33,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", -NETFILTER_VERSION); +IPTABLES_VERSION); } static struct option opts[] = { @@ -152,7 +152,7 @@ struct iptables_target ipmark = { NULL, "IPMARK", - NETFILTER_VERSION, + IPTABLES_VERSION, IPT_ALIGN(sizeof(struct ipt_ipmark_target_info)), IPT_ALIGN(sizeof(struct ipt_ipmark_target_info)), &help, ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.