mcast-tools: fix linux/pim.h include
[lede-routing/.git] / mcast-tools / patches / 0004-fix_linux_pim.h_include.patch
diff --git a/mcast-tools/patches/0004-fix_linux_pim.h_include.patch b/mcast-tools/patches/0004-fix_linux_pim.h_include.patch
new file mode 100644 (file)
index 0000000..7f8b9bc
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/include/linux/pim.h
++++ b/include/linux/pim.h
+@@ -10,7 +10,7 @@ struct pim {
+       __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 */