Source-Changes-HG archive

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

[src/netbsd-1-5]: src remove ip6defaultif configuration, which is not for com...



details:   https://anonhg.NetBSD.org/src/rev/142d51f88b13
branches:  netbsd-1-5
changeset: 488185:142d51f88b13
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Jun 20 17:53:17 2000 +0000

description:
remove ip6defaultif configuration, which is not for common installation.
approved by: releng-1-5

diffstat:

 etc/rc.conf              |   3 +--
 etc/rc.d/network         |   8 +-------
 share/man/man5/rc.conf.5 |  18 +-----------------
 3 files changed, 3 insertions(+), 26 deletions(-)

diffs (77 lines):

diff -r 416f61fdfb01 -r 142d51f88b13 etc/rc.conf
--- a/etc/rc.conf       Tue Jun 20 12:39:31 2000 +0000
+++ b/etc/rc.conf       Tue Jun 20 17:53:17 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: rc.conf,v 1.85 2000/06/13 16:29:53 itojun Exp $
+#      $NetBSD: rc.conf,v 1.85.2.1 2000/06/20 17:53:17 itojun Exp $
 #
 # see rc.conf(5) for more information.
 
@@ -68,7 +68,6 @@
 ntpdate=NO             ntpdate_hosts=""        # blank: hosts in /etc/ntp.conf
 ppp_peers=""                                   # /etc/ppp/peers to call
 ip6mode=host                                   # host, autohost or router
-ip6defaultif=""                                        # for ip6mode=host/autohost only
 rtsol=NO               rtsol_flags=""          # for ip6mode=autohost only
 
 # Daemons required by servers.  These are not needed for strictly client use.
diff -r 416f61fdfb01 -r 142d51f88b13 etc/rc.d/network
--- a/etc/rc.d/network  Tue Jun 20 12:39:31 2000 +0000
+++ b/etc/rc.d/network  Tue Jun 20 17:53:17 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: network,v 1.11 2000/05/13 08:45:07 lukem Exp $
+# $NetBSD: network,v 1.11.4.1 2000/06/20 17:53:32 itojun Exp $
 #
 
 # PROVIDE: network
@@ -270,16 +270,10 @@
                autohost)
                        echo 'IPv6 mode: autoconfigured host'
                        sysctl -w net.inet6.ip6.accept_rtadv=1 >/dev/null
-                       if [ -n "$ip6defaultif" ]; then
-                               ndp -I $ip6defaultif
-                       fi
                        ;;
 
                host)   
                        echo 'IPv6 mode: host'
-                       if [ -n "$ip6defaultif" ]; then
-                               ndp -I $ip6defaultif
-                       fi
                        ;;
 
                *)      echo 'WARNING: invalid value in ip6mode'
diff -r 416f61fdfb01 -r 142d51f88b13 share/man/man5/rc.conf.5
--- a/share/man/man5/rc.conf.5  Tue Jun 20 12:39:31 2000 +0000
+++ b/share/man/man5/rc.conf.5  Tue Jun 20 17:53:17 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: rc.conf.5,v 1.32 2000/06/13 16:33:18 itojun Exp $
+.\"    $NetBSD: rc.conf.5,v 1.32.2.1 2000/06/20 17:53:46 itojun Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" Copyright (c) 1997 Curt J. Sampson
@@ -325,22 +325,6 @@
 .Sy rtsold
 as well, if you set the variable to
 .Li autohost .
-.It Sy ip6defaultif
-This configuration is just for very rare case, you can leave it empty.
-IPv6 neighbor discovery specification (RFC2461 section 5.2)
-says that if you have no router known to you,
-you need to treat all the destination as being on-link.
-.Sy ip6defaultif
-configures the outgoing interface in this situation.
-See
-.Xr ndp 8 ,
-option
-.Fl I
-for more detail.
-The setting is for IPv6 hosts only.
-It will be ignored if
-.Sy ip6mode is set to
-.Li router .
 .It Sy rtsol
 YES or NO.
 Run



Home | Main Index | Thread Index | Old Index