cttproxy-2.4.21-15.tar.gz compilation error.
Hello I have tried to compile 2.4.21 kernel with cttproxy-2.4.21-15.tar.gz. But when I set following kernel options with TPROXY, I got compile error for prototype mismatching. [Networking Options] = [IP: Netfilter Configuration] = [Connection tracking] = [Amanda protocol support] : * = [TFTP protocol support] : * With following patch, I could compile correctly. ************************************************************************* --- linux-2.4.21/net/ipv4/netfilter/ip_nat_tftp.c-orig Thu Jun 26 15:39:08 2003 +++ linux-2.4.21/net/ipv4/netfilter/ip_nat_tftp.c Thu Jun 26 15:39:33 2003 @@ -135,7 +135,7 @@ NIPQUAD(orig->src.ip), ntohs(orig->src.u.udp.port)); } - return ip_nat_setup_info(ct,&mr,hooknum); + return ip_nat_setup_info(ct,&mr,hooknum,0); } static struct ip_nat_helper tftp[MAX_PORTS]; --- linux-2.4.21/net/ipv4/netfilter/ip_nat_amanda.c-orig Thu Jun 26 15:26:07 2003 +++ linux-2.4.21/net/ipv4/netfilter/ip_nat_amanda.c Thu Jun 26 15:26:41 2003 @@ -87,7 +87,7 @@ { htons(port) }); } - return ip_nat_setup_info(ct, &mr, hooknum); + return ip_nat_setup_info(ct, &mr, hooknum, 0); } static int amanda_data_fixup(struct ip_conntrack *ct, ************************************************************************** Thank you. --- F-Secure Japan Yoshioka Tsuneo E-MAIL: Tsuneo.Yoshioka@f-secure.com
participants (1)
-
Yoshioka Tsuneo