Hi,

I picked up the latest (2002022) snap shot and ran into compile problems
with the ECN.patch.  The following patch fixes the problem. 

Jim Houston

--- include/linux/netfilter_ipv4/ipt_ECN.h.0    Wed Feb 27 17:38:30 2002
+++ include/linux/netfilter_ipv4/ipt_ECN.h      Wed Feb 27 16:50:48 2002
@@ -6,8 +6,8 @@
  * 
  * ECN.patch,v 1.1 2002/02/25 13:08:08 laforge Exp
 */
-#ifndef _IPT_DSCP_H
-#define _IPT_DSCP_H
+#ifndef _IPT_ECN_H
+#define _IPT_ECN_H
 #include <linux/netfilter_ipv4/ipt_DSCP.h>
 
 #define IPT_ECN_MASK   (~IPT_DSCP_MASK)
--- net/ipv4/netfilter/ipt_ECN.c.0      Wed Feb 27 15:29:10 2002
+++ net/ipv4/netfilter/ipt_ECN.c        Wed Feb 27 17:03:59 2002
@@ -63,7 +63,7 @@
            unsigned int targinfosize,
            unsigned int hook_mask)
 {
-       const struct ipt_ECN_info einfo = (struct ipt_ECN_info *)targinfo;
+       const struct ipt_ECN_info *einfo = (struct ipt_ECN_info *)targinfo;
 
        if (targinfosize != IPT_ALIGN(sizeof(struct ipt_ECN_info))) {
                printk(KERN_WARNING "ECN: targinfosize %u != %Zu\n",

Reply via email to