1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

updated to the newest version of pim6sd (20030901)

This commit is contained in:
SUZUKI Shinsuke 2003-09-02 10:03:14 +00:00
parent 44cc5be517
commit 72d309d857
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88338
13 changed files with 2 additions and 153 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= pim6sd
PORTVERSION= 20021111a
PORTVERSION= 20030901a
PORTREVISION= 0
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.kame.net/pub/kame/misc/

View File

@ -1 +1 @@
MD5 (pim6sd-20021111a.tar.gz) = 174641d55fff2c1ee52763b2e8886446
MD5 (pim6sd-20030901a.tar.gz) = 7820634b2ce4ba618e9d5c56228ffc70

View File

@ -1,10 +0,0 @@
--- pim6sd/cfparse.y.orig Tue Nov 19 03:27:18 2002
+++ pim6sd/cfparse.y Tue Nov 19 03:27:33 2002
@@ -31,6 +31,7 @@
%{
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/param.h>
#include <net/if.h>
#include <net/route.h>
#include <netinet/in.h>

View File

@ -1,10 +0,0 @@
--- pim6sd/config.c Tue Nov 19 03:16:55 2002
+++ pim6sd/config.c Tue Nov 19 03:15:44 2002
@@ -66,6 +66,7 @@
#endif
#include <net/route.h>
#include <netinet/in.h>
+#include <sys/param.h>
#include <netinet6/ip6_mroute.h>
#include <netinet6/in6_var.h>
#include <arpa/inet.h>

View File

@ -1,11 +0,0 @@
--- pim6sd/mld6.c Tue Nov 19 03:13:59 2002
+++ pim6sd/mld6.c Tue Nov 19 03:13:46 2002
@@ -117,7 +117,7 @@
/* Externals */
-extern struct in6_addr in6addr_linklocal_allnodes;
+//extern struct in6_addr in6addr_linklocal_allnodes;
/* local variables. */
static struct sockaddr_in6 dst = {sizeof(dst), AF_INET6};

View File

@ -1,42 +0,0 @@
--- pim6sd/mld6_proto.c Tue Nov 19 03:15:12 2002
+++ pim6sd/mld6_proto.c Wed Oct 30 09:53:17 2002
@@ -120,7 +120,7 @@
#include "mld6_proto.h"
-extern struct in6_addr in6addr_any;
+//extern struct in6_addr in6addr_any;
/*
@@ -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,
@@ -519,6 +517,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,
@@ -529,6 +526,7 @@
MLD6_QUERY_RESPONSE_INTERVAL,
0, TRUE, SFLAGNO, v->uv_mld_robustness,
v->uv_mld_query_interval);
+#endif
break;
}
v->uv_out_mld_query++;

View File

@ -1,18 +0,0 @@
--- 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

View File

@ -1,10 +0,0 @@
--- pim6sd/mrt.c Tue Nov 19 03:18:42 2002
+++ pim6sd/mrt.c Tue Nov 19 03:18:26 2002
@@ -48,6 +48,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/param.h>
#include <net/if.h>
#include <net/route.h>
#include <netinet/in.h>

View File

@ -1,10 +0,0 @@
--- pim6sd/pim6_proto.c Tue Nov 19 03:19:39 2002
+++ pim6sd/pim6_proto.c Tue Nov 19 03:19:11 2002
@@ -103,6 +103,7 @@
*/
#include <sys/types.h>
+#include <sys/param.h>
#include <sys/socket.h>
#include <net/if.h>
#include <net/route.h>

View File

@ -1,10 +0,0 @@
--- pim6sd/route.c Tue Nov 19 03:17:26 2002
+++ pim6sd/route.c Tue Nov 19 03:17:09 2002
@@ -48,6 +48,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/param.h>
#include <net/if.h>
#include <net/route.h>
#include <netinet/in.h>

View File

@ -1,10 +0,0 @@
--- pim6sd/rp.c Tue Nov 19 03:20:02 2002
+++ pim6sd/rp.c Tue Nov 19 03:19:50 2002
@@ -76,6 +76,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/param.h>
#include <net/if.h>
#include <net/route.h>
#include <netinet/in.h>

View File

@ -1,10 +0,0 @@
--- pim7sd/trace.c Tue Nov 19 03:20:24 2002
+++ pim6sd/trace.c Tue Nov 19 03:20:12 2002
@@ -69,6 +69,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/uio.h>
#include <sys/queue.h>

View File

@ -1,10 +0,0 @@
--- pim6sd/vif.c Tue Nov 19 03:18:11 2002
+++ pim6sd/vif.c Tue Nov 19 03:17:44 2002
@@ -58,6 +58,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
+#include <sys/param.h>
#include <net/if.h>
#include <net/route.h>
#include <netinet/in.h>