public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* iptables and ip_conntrack_tuple.h compile fix
@ 2005-02-01 11:14 Tompa Septimius Paul
  2005-02-01 13:18 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Tompa Septimius Paul @ 2005-02-01 11:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: netfilter


Hi,

I try to recompile iptables iptables-1.2.11 with kernel 2.6.11-rc2
(and mm2) running and I don't succeed. It complains about
/usr/src/linux/include/linux/netfilter_ipv4/ip_conntrack_tuple.h
after this small changes iptables is compiling again.



--- ip_conntrack_tuple.h.old    2005-02-01 12:49:52.000000000 +0200
+++ ip_conntrack_tuple.h        2005-02-01 12:55:43.983819584 +0200
@@ -62,12 +62,11 @@
                                u_int16_t port;
                        } sctp;
                } u;

                /* The protocol. */
-               u8 protonum;
+               u_int16_t protonum;

                /* The direction (for tuplehash) */
-               u8 dir;
+               u_int16_t dir;
        } dst;
 };


A good day,

Tompa Septimius Paul <subzero@cj.onrc.ro>







________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Server.
http://www.nod32.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: iptables and ip_conntrack_tuple.h compile fix
  2005-02-01 11:14 iptables and ip_conntrack_tuple.h compile fix Tompa Septimius Paul
@ 2005-02-01 13:18 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2005-02-01 13:18 UTC (permalink / raw)
  To: Tompa Septimius Paul; +Cc: linux-kernel, netfilter

Tompa Septimius Paul wrote:

>Hi,
>
>I try to recompile iptables iptables-1.2.11 with kernel 2.6.11-rc2
>(and mm2) running and I don't succeed. It complains about
>/usr/src/linux/include/linux/netfilter_ipv4/ip_conntrack_tuple.h
>after this small changes iptables is compiling again.
>  
>
I just added a similar patch from Pablo Neira to my tree.

Regards
Patrick


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-01 13:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-01 11:14 iptables and ip_conntrack_tuple.h compile fix Tompa Septimius Paul
2005-02-01 13:18 ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox