packages/ipv6/mrd6/patches/003-missing_icmp_inet6_defs.patch
nico eaaaa694b0 update mrd6 to 0.9.5rev3, refresh patches, fix build on 2.4 and remove 2.6 only flag (closes: #2326)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 11:51:00 +00:00

20 lines
481 B
Diff

Index: mrd6-0.9.5/src/icmp_inet6.cpp
===================================================================
--- mrd6-0.9.5.orig/src/icmp_inet6.cpp 2007-09-21 13:19:04.000000000 +0200
+++ mrd6-0.9.5/src/icmp_inet6.cpp 2007-09-21 13:19:06.000000000 +0200
@@ -51,6 +51,14 @@
#define IP6_ALERT_MLD 0x00
#endif
+#ifndef IP6OPT_PAD1
+#define IP6OPT_PAD1 0
+#endif
+
+#ifndef IP6OPT_PADN
+#define IP6OPT_PADN 1
+#endif
+
static in6_addr mld_all_routers;
static in6_addr all_routers;