Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src Pull up following revision(s) (requested by kim in ticket...
details: https://anonhg.NetBSD.org/src/rev/cc3e218b6297
branches: netbsd-9
changeset: 1001663:cc3e218b6297
user: martin <martin%NetBSD.org@localhost>
date: Wed Apr 22 17:55:16 2020 +0000
description:
Pull up following revision(s) (requested by kim in ticket #838):
share/man/man5/ifconfig.if.5: revision 1.20
etc/rc.d/network: revision 1.78 (plus patch)
usr.sbin/rtsold/rtsold.8: revision 1.42
Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA
Sort SEE ALSO.
Update date
diffstat:
etc/rc.d/network | 13 +++++++++++--
share/man/man5/ifconfig.if.5 | 4 ++--
usr.sbin/rtsold/rtsold.8 | 4 ++--
3 files changed, 15 insertions(+), 6 deletions(-)
diffs (72 lines):
diff -r 48698561a3f2 -r cc3e218b6297 etc/rc.d/network
--- a/etc/rc.d/network Tue Apr 21 16:54:51 2020 +0000
+++ b/etc/rc.d/network Wed Apr 22 17:55:16 2020 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: network,v 1.76 2018/10/23 09:25:33 mrg Exp $
+# $NetBSD: network,v 1.76.2.1 2020/04/22 17:55:16 martin Exp $
#
# PROVIDE: network
@@ -215,7 +215,8 @@
# For each line from the $ifconfig_xxN variable or the
# /etc/ifconfig.xxN file, we ignore comments and blank lines,
# treat lines beginning with "!" as commands to execute, treat
- # "dhcp" as a special case to invoke dhcpcd, and for any other
+ # "dhcp" as a special case to invoke dhcpcd, treat "rtsol" as
+ # a special case to send a router solicitation, and for any other
# line we run "ifconfig xxN", using each line of the file as the
# arguments for a separate "ifconfig" invocation.
#
@@ -322,6 +323,14 @@
${dhcpcd_flags} $int
fi
;;
+ rtsol)
+ if ! checkyesno dhcpcd; then
+ /sbin/sysctl -qw \
+ net.inet6.ip6.accept_rtadv=1
+ /sbin/dhcpcd -q6T --nodhcp6 $int \
+ >/dev/null
+ fi
+ ;;
*)
# Pass args to ifconfig. Note
# that args may contain embedded
diff -r 48698561a3f2 -r cc3e218b6297 share/man/man5/ifconfig.if.5
--- a/share/man/man5/ifconfig.if.5 Tue Apr 21 16:54:51 2020 +0000
+++ b/share/man/man5/ifconfig.if.5 Wed Apr 22 17:55:16 2020 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ifconfig.if.5,v 1.18 2014/12/29 14:22:25 wiz Exp $
+.\" $NetBSD: ifconfig.if.5,v 1.18.18.1 2020/04/22 17:55:16 martin Exp $
.\"
.\" Copyright (c) 1996 Matthew R. Green
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd December 18, 2014
+.Dd April 15, 2020
.Dt IFCONFIG.IF 5
.Os
.Sh NAME
diff -r 48698561a3f2 -r cc3e218b6297 usr.sbin/rtsold/rtsold.8
--- a/usr.sbin/rtsold/rtsold.8 Tue Apr 21 16:54:51 2020 +0000
+++ b/usr.sbin/rtsold/rtsold.8 Wed Apr 22 17:55:16 2020 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: rtsold.8,v 1.37 2017/10/22 18:09:33 abhinav Exp $
+.\" $NetBSD: rtsold.8,v 1.37.6.1 2020/04/22 17:55:16 martin Exp $
.\" $KAME: rtsold.8,v 1.17 2001/07/09 22:30:37 itojun 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 October 12, 2014
+.Dd April 15, 2020
.Dt RTSOLD 8
.Os
.\"
Home |
Main Index |
Thread Index |
Old Index