From owner-cvs-src-old@FreeBSD.ORG Sat Sep 26 19:03:04 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAB7D1065693 for ; Sat, 26 Sep 2009 19:03:04 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id ADD228FC0C for ; Sat, 26 Sep 2009 19:03:04 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n8QJ34E6052340 for ; Sat, 26 Sep 2009 19:03:04 GMT (envelope-from hrs@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8QJ3477052339 for cvs-src-old@freebsd.org; Sat, 26 Sep 2009 19:03:04 GMT (envelope-from hrs@repoman.freebsd.org) Message-Id: <200909261903.n8QJ3477052339@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to hrs@repoman.freebsd.org using -f From: Hiroki Sato Date: Sat, 26 Sep 2009 18:59:00 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src UPDATING src/etc network.subr src/etc/rc.d ip6addrctl netif src/sbin/ifconfig ifconfig.8 src/share/man/man5 rc.conf.5 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Sep 2009 19:03:04 -0000 hrs 2009-09-26 18:59:00 UTC FreeBSD src repository Modified files: . UPDATING etc network.subr etc/rc.d ip6addrctl netif sbin/ifconfig ifconfig.8 share/man/man5 rc.conf.5 Log: SVN rev 197526 on 2009-09-26 18:59:00Z by hrs Fix several logic bugs in the previous IPv6 variable change and re-add $ipv6_enable support for backward compatibility. From UPDATING: 1. To use IPv6, simply define $ifconfig_IF_ipv6 like $ifconfig_IF for IPv4. For aliases, $ifconfig_IF_aliasN should be used. Note that both variables need the "inet6" keyword at the head. Do not set $ipv6_network_interfaces manually if you do not understand what you are doing. It is not needed in most cases. $ipv6_ifconfig_IF and $ipv6_ifconfig_IF_aliasN still work, but they are obsolete. 2. $ipv6_enable is obsolete. Use $ipv6_prefer and/or "inet6 accept_rtadv" keyword in ifconfig(8) instead. If you define $ipv6_enable=YES, it means $ipv6_prefer=YES and all configured interfaces have "inet6 accept_rtadv" in the $ifconfig_IF_ipv6. These are for backward compatibility. 3. A new variable $ipv6_prefer has been added. If NO, IPv6 functionality of interfaces with no corresponding $ifconfig_IF_ipv6 is disabled by using "inet6 ifdisabled" flag, and the default address selection policy of ip6addrctl(8) is the IPv4-preferred one (see rc.d/ip6addrctl for more details). Note that if you want to configure IPv6 functionality on the disabled interfaces after boot, first you need to clear the flag by using ifconfig(8) like: ifconfig em0 inet6 -ifdisabled If YES, the default address selection policy is set as IPv6-preferred. The default value of $ipv6_prefer is NO. 4. If your system need to receive Router Advertisement messages, define "inet6 accept_rtadv" in $ifconfig_IF_ipv6. The rc(8) scripts automatically invoke rtsol(8) when the interface becomes UP. The Router Advertisement messages are used for SLAAC (State-Less Address AutoConfiguration). Revision Changes Path 1.641 +51 -0 src/UPDATING 1.202 +58 -12 src/etc/network.subr 1.7 +2 -0 src/etc/rc.d/ip6addrctl 1.34 +1 -1 src/etc/rc.d/netif 1.162 +9 -3 src/sbin/ifconfig/ifconfig.8 1.364 +72 -15 src/share/man/man5/rc.conf.5