[uClibc-cvs] svn commit: trunk/buildroot/toolchain/kernel-headers

andersen at uclibc.org andersen at uclibc.org
Tue Mar 22 20:05:02 UTC 2005


Author: andersen
Date: 2005-03-22 13:05:01 -0700 (Tue, 22 Mar 2005)
New Revision: 10057

Log:
Add missing definition for 'struct ip_nat_multi_range_compat' so
that iptables can compile


Added:
   trunk/buildroot/toolchain/kernel-headers/linux-libc-headers-2.6.11.0.patch


Changeset:
Added: trunk/buildroot/toolchain/kernel-headers/linux-libc-headers-2.6.11.0.patch
===================================================================
--- trunk/buildroot/toolchain/kernel-headers/linux-libc-headers-2.6.11.0.patch	2005-03-21 16:38:20 UTC (rev 10056)
+++ trunk/buildroot/toolchain/kernel-headers/linux-libc-headers-2.6.11.0.patch	2005-03-22 20:05:01 UTC (rev 10057)
@@ -0,0 +1,18 @@
+--- linux/include/linux/netfilter_ipv4/ip_nat.h.orig	2005-03-21 16:18:40.000000000 -0700
++++ linux/include/linux/netfilter_ipv4/ip_nat.h	2005-03-21 16:23:54.000000000 -0700
+@@ -66,6 +66,15 @@
+ 	struct ip_conntrack_manip manip;
+ };
+ 
++/* For backwards compat: don't use in modern code. */
++struct ip_nat_multi_range_compat
++{
++	unsigned int rangesize; /* Must be 1. */
++
++	/* hangs off end. */
++	struct ip_nat_range range[1];
++};
++
+ #define ip_nat_multi_range ip_nat_multi_range_compat
+ 
+ #endif




More information about the uClibc-cvs mailing list