fix kernel header breakage, which caused a compile error in igmpproxy on big-endian...
authorFelix Fietkau <nbd@openwrt.org>
Tue, 5 Aug 2008 17:33:09 +0000 (17:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 5 Aug 2008 17:33:09 +0000 (17:33 +0000)
SVN-Revision: 12143

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

diff --git a/target/linux/generic-2.6/patches-2.6.26/906-pim_h_compile_fix.patch b/target/linux/generic-2.6/patches-2.6.26/906-pim_h_compile_fix.patch
new file mode 100644 (file)
index 0000000..51ca974
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/include/linux/pim.h
++++ b/include/linux/pim.h
+@@ -9,7 +9,7 @@
+       __u8    pim_type:4,             /* PIM message type */
+               pim_ver:4;              /* PIM version */
+ #elif defined(__BIG_ENDIAN_BITFIELD)
+-      __u8    pim_ver:4;              /* PIM version */
++      __u8    pim_ver:4,              /* PIM version */
+               pim_type:4;             /* PIM message type */
+ #endif
+       __u8    pim_rsv;                /* Reserved */