fix ipset patch to have headers installed when using 'make -C $(KDIR) headers_install'
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.26 / 130-netfilter_ipset.patch
index 5f5ef6843a408dea6c1d9535f76a34f96a5dc6f7..c488a35d89d925abbebc3c314d539e3231584b77 100644 (file)
@@ -1,3 +1,20 @@
+--- a/include/linux/netfilter_ipv4/Kbuild
++++ b/include/linux/netfilter_ipv4/Kbuild
+@@ -45,3 +45,14 @@
+
+ unifdef-y += ip_queue.h
+ unifdef-y += ip_tables.h
++
++unifdef-y += ip_set.h
++header-y  += ip_set_iphash.h
++header-y  += ip_set_ipmap.h
++header-y  += ip_set_ipporthash.h
++unifdef-y += ip_set_iptree.h
++unifdef-y += ip_set_iptreemap.h
++header-y  += ip_set_jhash.h
++header-y  += ip_set_macipmap.h
++unifdef-y += ip_set_nethash.h
++header-y  += ip_set_portmap.h
 --- /dev/null
 +++ b/include/linux/netfilter_ipv4/ip_set.h
 @@ -0,0 +1,498 @@