summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-08-05 22:06:03 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-08-05 22:06:03 +0000
commit71bc2e320b635b4054721b36d11f11aa79449432 (patch)
tree06399221f4a0ea20c3c9f88c2ed2cb1cb3d9fd26 /target
parent2dd9146ddf847c3c518850c7e6f921f85fae9773 (diff)
downloadmtk-20170518-71bc2e320b635b4054721b36d11f11aa79449432.zip
mtk-20170518-71bc2e320b635b4054721b36d11f11aa79449432.tar.gz
mtk-20170518-71bc2e320b635b4054721b36d11f11aa79449432.tar.bz2
Fix inclusion of pim.h like igmpproxy
SVN-Revision: 12176
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic-2.6/patches-2.6.26/650-pim_header.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.26/650-pim_header.patch b/target/linux/generic-2.6/patches-2.6.26/650-pim_header.patch
new file mode 100644
index 0000000..3b0c651
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.26/650-pim_header.patch
@@ -0,0 +1,15 @@
+--- linux-2.6.26/include/linux/pim.h 2008-07-13 23:51:29.000000000 +0200
++++ linux-2.6.26.new/include/linux/pim.h 2008-08-05 20:52:25.000000000 +0200
+@@ -7,10 +7,10 @@
+ struct pim {
+ #if defined(__LITTLE_ENDIAN_BITFIELD)
+ __u8 pim_type:4, /* PIM message type */
+- pim_ver:4; /* PIM version */
++ __u8 pim_ver:4; /* PIM version */
+ #elif defined(__BIG_ENDIAN_BITFIELD)
+ __u8 pim_ver:4; /* PIM version */
+- pim_type:4; /* PIM message type */
++ __u8 pim_type:4; /* PIM message type */
+ #endif
+ __u8 pim_rsv; /* Reserved */
+ __be16 pim_cksum; /* Checksum */