Update values from RFC 8319

This commit is contained in:
roy 2018-04-20 16:37:17 +00:00
parent e673cfdc24
commit 1aeb87918e
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: rtadvd.conf.5,v 1.18 2012/12/11 16:37:23 roy Exp $
.\" $NetBSD: rtadvd.conf.5,v 1.19 2018/04/20 16:37:17 roy Exp $
.\" $KAME: rtadvd.conf.5,v 1.50 2005/01/14 05:30:59 jinmei Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd December 11, 2012
.Dd April 20, 2018
.Dt RTADVD.CONF 5
.Os
.Sh NAME
@ -83,7 +83,7 @@ multicast router advertisements
.Pq unit: seconds .
The default value is 600.
Its value must be no less than 4 seconds
and no greater than 1800 seconds.
and no greater than 65535 seconds.
.It Cm \&mininterval
(num) The minimum time allowed between sending unsolicited multicast
router advertisements
@ -153,7 +153,7 @@ configuration methods, and the medium router preference.
The value must be either zero or between
the value of
.Cm maxinterval
and 9000.
and 65535.
When
.Nm rtadvd
runs on a host, this value must explicitly set 0 on all the

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtadvd.h,v 1.18 2018/04/20 16:18:18 roy Exp $ */
/* $NetBSD: rtadvd.h,v 1.19 2018/04/20 16:37:17 roy Exp $ */
/* $KAME: rtadvd.h,v 1.30 2005/10/17 14:40:02 suz Exp $ */
/*
@ -54,9 +54,9 @@ extern struct sockaddr_in6 sin6_sitelocal_allrouters;
#define DEF_ADVPREFERREDLIFETIME 604800
#define DEF_ADVROUTERLIFETIME 1800
#define MAXROUTERLIFETIME 9000
#define MAXROUTERLIFETIME 65535 /* RFC 8319 */
#define MIN_MAXINTERVAL 4
#define MAX_MAXINTERVAL 1800
#define MAX_MAXINTERVAL 65535 /* RFC 8319 */
#define MIN_MININTERVAL 3
#define MAXREACHABLETIME 3600000