[-]
[+]
|
Changed |
radvd.changes
|
|
[-]
[+]
|
Changed |
radvd.spec
^
|
|
[-]
[+]
|
Changed |
radvd-1.9.3.tar.bz2/CHANGES
^
|
@@ -1,3 +1,9 @@
+2013/03/14 Fix for systems without sysctl.h from vapier
+ Updating to version 1.9.3
+ release 1.9.3
+
+2013/03/04 radvdump MTU and route fix by Jean-Jacques
+
2012/11/20 Replaced pekkas@netcore.fi with reubenhwk@gmail.com
Normalized dates in CHANGES to YYYY/MM/DD
release 1.9.2
|
[-]
[+]
|
Changed |
radvd-1.9.3.tar.bz2/VERSION
^
|
@@ -2,4 +2,4 @@
#
# this file is automatically processed by configure
#
-1.9.2
+1.9.3
|
[-]
[+]
|
Changed |
radvd-1.9.3.tar.bz2/config.h.in
^
|
@@ -63,6 +63,9 @@
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
+/* Define to 1 if you have the <sys/sysctl.h> header file. */
+#undef HAVE_SYS_SYSCTL_H
+
/* Define to 1 if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
|
[-]
[+]
|
Changed |
radvd-1.9.3.tar.bz2/configure
^
|
@@ -5075,6 +5075,7 @@
net/if_types.h \
sys/param.h \
sys/sockio.h \
+ sys/sysctl.h \
sys/time.h \
time.h \
|
[-]
[+]
|
Changed |
radvd-1.9.3.tar.bz2/configure.ac
^
|
@@ -151,6 +151,7 @@
net/if_types.h \
sys/param.h \
sys/sockio.h \
+ sys/sysctl.h \
sys/time.h \
time.h \
)
|
[-]
[+]
|
Changed |
radvd-1.9.3.tar.bz2/includes.h
^
|
@@ -72,7 +72,9 @@
#include <arpa/inet.h>
-#include <sys/sysctl.h>
+#ifdef HAVE_SYS_SYSCTL_H
+# include <sys/sysctl.h>
+#endif
#include <net/if.h>
|
[-]
[+]
|
Changed |
radvd-1.9.3.tar.bz2/radvd.c
^
|
@@ -761,7 +761,9 @@
int
check_ip6_forwarding(void)
{
+#ifdef HAVE_SYS_SYSCTL_H
int forw_sysctl[] = { SYSCTL_IP6_FORWARDING };
+#endif
int value;
size_t size = sizeof(value);
FILE *fp = NULL;
@@ -777,18 +779,22 @@
}
fclose(fp);
}
- else
+ else {
flog(LOG_DEBUG, "Correct IPv6 forwarding procfs entry not found, "
"perhaps the procfs is disabled, "
"or the kernel interface has changed?");
+ value = -1;
+ }
#endif /* __linux__ */
+#ifdef HAVE_SYS_SYSCTL_H
if (!fp && sysctl(forw_sysctl, sizeof(forw_sysctl)/sizeof(forw_sysctl[0]),
&value, &size, NULL, 0) < 0) {
flog(LOG_DEBUG, "Correct IPv6 forwarding sysctl branch not found, "
"perhaps the kernel interface has changed?");
return(0); /* this is of advisory value only */
}
+#endif
if (value != 1 && !warned) {
warned = 1;
|
[-]
[+]
|
Changed |
radvd-1.9.3.tar.bz2/radvdump.c
^
|
@@ -387,9 +387,16 @@
case ND_OPT_ROUTE_INFORMATION:
rinfo = (struct nd_opt_route_info_local *) opt_str;
- print_addr(&rinfo->nd_opt_ri_prefix, prefix_str);
-
- printf("\n\troute %s/%d\n\t{\n", prefix_str, rinfo->nd_opt_ri_prefix_len);
+ if (optlen == 8) {
+ printf("\n\troute ::/0\n\t{\n");
+ }
+ else {
+ struct in6_addr addr;
+ memset(&addr, 0, sizeof(addr));
+ memcpy(&addr, &rinfo->nd_opt_ri_prefix, 8);
+ print_addr(&addr, prefix_str);
+ printf("\n\troute %s/%d\n\t{\n", prefix_str, rinfo->nd_opt_ri_prefix_len);
+ }
if (!edefs || (((radvert->nd_ra_flags_reserved & 0x18) >> 3) & 0xff) != DFLT_AdvRoutePreference) {
printf("\t\tAdvRoutePreference ");
|
[-]
[+]
|
Changed |
radvd-1.9.3.tar.bz2/redhat/radvd.spec
^
|
@@ -5,7 +5,7 @@
Summary: A Router Advertisement daemon
Name: radvd
-Version: 1.9.2
+Version: 1.9.3
Release: 1
# The code includes the advertising clause, so it's GPL-incompatible
License: BSD with advertising
|