summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsuz <suz@FreeBSD.org>2002-11-16 15:48:57 +0000
committersuz <suz@FreeBSD.org>2002-11-16 15:48:57 +0000
commitff970e53c95f06e03e9b251993b3c703616a6e4a (patch)
treef26c7962a47a3fc28b4105db847e7f22530030d4 /net
parent10ba1e720730dc8c911a89bbb9d16825695dbd4c (diff)
downloadFreeBSD-ports-ff970e53c95f06e03e9b251993b3c703616a6e4a.zip
FreeBSD-ports-ff970e53c95f06e03e9b251993b3c703616a6e4a.tar.gz
fixed compilation error.
(sorry, I checked compilability just on KAME+FreeBSD)
Diffstat (limited to 'net')
-rw-r--r--net/pim6sd/files/patch-ad18
-rw-r--r--net/pim6sd/files/patch-ae33
2 files changed, 51 insertions, 0 deletions
diff --git a/net/pim6sd/files/patch-ad b/net/pim6sd/files/patch-ad
new file mode 100644
index 0000000..9d959db
--- /dev/null
+++ b/net/pim6sd/files/patch-ad
@@ -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
diff --git a/net/pim6sd/files/patch-ae b/net/pim6sd/files/patch-ae
new file mode 100644
index 0000000..fc279a4
--- /dev/null
+++ b/net/pim6sd/files/patch-ae
@@ -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++;
OpenPOWER on IntegriCloud