Fix inclusion of pim.h like igmpproxy
authorFlorian Fainelli <florian@openwrt.org>
Tue, 5 Aug 2008 22:06:03 +0000 (22:06 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 5 Aug 2008 22:06:03 +0000 (22:06 +0000)
SVN-Revision: 12176

target/linux/generic-2.6/patches-2.6.26/650-pim_header.patch [new file with mode: 0644]

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 (file)
index 0000000..3b0c651
--- /dev/null
@@ -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 */