Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/rtadvd Update values from RFC 8319



details:   https://anonhg.NetBSD.org/src/rev/b4a8c99d31d3
branches:  trunk
changeset: 318394:b4a8c99d31d3
user:      roy <roy%NetBSD.org@localhost>
date:      Fri Apr 20 16:37:17 2018 +0000
description:
Update values from RFC 8319

diffstat:

 usr.sbin/rtadvd/rtadvd.conf.5 |  8 ++++----
 usr.sbin/rtadvd/rtadvd.h      |  6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (57 lines):

diff -r 9cbcf79b8a1c -r b4a8c99d31d3 usr.sbin/rtadvd/rtadvd.conf.5
--- a/usr.sbin/rtadvd/rtadvd.conf.5     Fri Apr 20 16:18:18 2018 +0000
+++ b/usr.sbin/rtadvd/rtadvd.conf.5     Fri Apr 20 16:37:17 2018 +0000
@@ -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 @@
 .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 @@
 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
diff -r 9cbcf79b8a1c -r b4a8c99d31d3 usr.sbin/rtadvd/rtadvd.h
--- a/usr.sbin/rtadvd/rtadvd.h  Fri Apr 20 16:18:18 2018 +0000
+++ b/usr.sbin/rtadvd/rtadvd.h  Fri Apr 20 16:37:17 2018 +0000
@@ -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 @@
 #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
 



Home | Main Index | Thread Index | Old Index