summaryrefslogtreecommitdiff
path: root/net/pim6sd/files/patch-pim6sd::mld6v2.h
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-19 02:42:37 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-19 02:42:37 +0000
commit95f1ea79f0211d4781503037d88c6bf35662def4 (patch)
tree31d0ee30b9cd50dada5932885d8073040af674c7 /net/pim6sd/files/patch-pim6sd::mld6v2.h
parentAdd SIGCHLD signal(3) handling to prevent zombie processes (diff)
Make net/pim6sd compile again under -current.
Noticed on bento.
Diffstat (limited to 'net/pim6sd/files/patch-pim6sd::mld6v2.h')
-rw-r--r--net/pim6sd/files/patch-pim6sd::mld6v2.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/pim6sd/files/patch-pim6sd::mld6v2.h b/net/pim6sd/files/patch-pim6sd::mld6v2.h
new file mode 100644
index 000000000000..9d959db5cc68
--- /dev/null
+++ b/net/pim6sd/files/patch-pim6sd::mld6v2.h
@@ -0,0 +1,18 @@
+--- pim6sd/mld6v2.h 5 Sep 2002 08:12:23 -0000 1.6
++++ pim6sd/mld6v2.h 16 Nov 2002 15:14:01 -0000
+@@ -67,12 +67,10 @@
+ #define nmcastrcd mldv2_hdr.icmp6_data16[1]
+
+ struct mld_report_hdr { /* Multicast Report */
+- u_int8_t mld_type; /* Multicast Report Type */
+- u_int8_t mld_reserved1; /* Reserved */
+- u_int16_t mld_cksum; /* Checksum */
+- u_int16_t mld_reserved2; /* Reserved */
+- u_int16_t mld_grpnum; /* Number of Multicast Address Records */
++ struct icmp6_hdr mld_icmp6_hdr; /* version & type of MLD message */
+ };
++
++#define mld_grpnum mld_icmp6_hdr.icmp6_data16[1]
+ #endif
+
+ #ifndef MLD_MINLEN