fix kernel header breakage, which caused a compile error in igmpproxy on big-endian targets

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12143 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2008-08-05 17:33:09 +00:00
parent e9d37b9d2f
commit eda0993223

View File

@@ -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 */