From: Florian Fainelli <florian@openwrt.org>
Date: Tue, 5 Aug 2008 22:06:03 +0000 (+0000)
Subject: Fix inclusion of pim.h like igmpproxy
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=71bc2e320b635b4054721b36d11f11aa79449432;p=librecmc%2Flibrecmc.git

Fix inclusion of pim.h like igmpproxy

SVN-Revision: 12176
---

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 0000000000..3b0c651827
--- /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 */