2000-12-03 01:13:21

by Yoann Vandoorselaere

[permalink] [raw]
Subject: [patch-2.4.0-test12-pre3] ip_conntrack_proto_tcp.c compilation fix.


--- linux/net/ipv4/netfilter/ip_conntrack_proto_tcp.c.orig Sat Dec 2 16:18:05 2000
+++ linux/net/ipv4/netfilter/ip_conntrack_proto_tcp.c Sat Dec 2 16:19:04 2000
@@ -228,6 +228,6 @@
}

struct ip_conntrack_protocol ip_conntrack_protocol_tcp
-= { { NULL, NULLpkt_IPPROTO_TCP, "tcp",
- tcp_ableto_tuple, tcp_invert_tuple, tcp_print_tuple, tcp_print_conntrack,
+= { { NULL, NULL }, IPPROTO_TCP, "tcp",
+ tcp_pkt_to_tuple, tcp_invert_tuple, tcp_print_tuple, tcp_print_conntrack,
tcp_packet, tcp_new, NULL };


--
-- Yoann http://www.mandrakesoft.com/~yoann/
An engineer from NVidia, while asking him to release cards specs said :
"Actually, we do write our drivers without documentation."









2000-12-03 11:59:34

by Yoann Vandoorselaere

[permalink] [raw]
Subject: Re: [patch-2.4.0-test12-pre3] ip_conntrack_proto_tcp.c compilation fix.

Yoann Vandoorselaere <[email protected]> writes:

> --- linux/net/ipv4/netfilter/ip_conntrack_proto_tcp.c.orig Sat Dec 2 16:18:05 2000
> +++ linux/net/ipv4/netfilter/ip_conntrack_proto_tcp.c Sat Dec 2 16:19:04 2000
> @@ -228,6 +228,6 @@
> }
>
> struct ip_conntrack_protocol ip_conntrack_protocol_tcp
> -= { { NULL, NULLpkt_IPPROTO_TCP, "tcp",
> - tcp_ableto_tuple, tcp_invert_tuple, tcp_print_tuple, tcp_print_conntrack,
> += { { NULL, NULL }, IPPROTO_TCP, "tcp",
> + tcp_pkt_to_tuple, tcp_invert_tuple, tcp_print_tuple, tcp_print_conntrack,
> tcp_packet, tcp_new, NULL };

Just ignore this patch, it seem this file got corrupted on my FS...

--
-- Yoann http://www.mandrakesoft.com/~yoann/
An engineer from NVidia, while asking him to release cards specs said :
"Actually, we do write our drivers without documentation."