mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
fixed compilation error.
(sorry, I checked compilability just on KAME+FreeBSD)
This commit is contained in:
parent
f68f5986d5
commit
2a7f2f999c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70253
18
net/pim6sd/files/patch-ad
Normal file
18
net/pim6sd/files/patch-ad
Normal file
@ -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
|
33
net/pim6sd/files/patch-ae
Normal file
33
net/pim6sd/files/patch-ae
Normal file
@ -0,0 +1,33 @@
|
||||
--- pim6sd/mld6_proto.c Wed Oct 30 17:53:17 2002
|
||||
+++ pim6sd/mld6_proto.c Sun Nov 17 00:39:36 2002
|
||||
@@ -316,12 +316,14 @@
|
||||
inet6_fmt(group), v->uv_name);
|
||||
return;
|
||||
}
|
||||
+#ifdef MLDV2_LISTENER_REPORT
|
||||
if (v->uv_mld_version & MLDv2) {
|
||||
log(LOG_DEBUG, 0,
|
||||
"shift to MLDv1 compat-mode for %s on Mif %s",
|
||||
inet6_fmt(group), v->uv_name);
|
||||
mld_shift_to_v1mode(mifi, src, &group_sa);
|
||||
}
|
||||
+#endif
|
||||
|
||||
IF_DEBUG(DEBUG_MLD)
|
||||
log(LOG_DEBUG, 0,
|
||||
@@ -517,6 +519,7 @@
|
||||
v->uv_ifindex,
|
||||
MLD6_LAST_LISTENER_QUERY_INTERVAL, 0, 1);
|
||||
break;
|
||||
+#ifdef MLDV2_LISTENER_REPORT
|
||||
case MLDv2:
|
||||
default:
|
||||
send_mld6v2(MLD_LISTENER_QUERY, 0,
|
||||
@@ -526,6 +529,7 @@
|
||||
MLD6_QUERY_RESPONSE_INTERVAL,
|
||||
0, TRUE, SFLAGNO, v->uv_mld_robustness,
|
||||
v->uv_mld_query_interval);
|
||||
+#endif
|
||||
break;
|
||||
}
|
||||
v->uv_out_mld_query++;
|
Loading…
Reference in New Issue
Block a user