Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2014 23:40:09 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r272864 - stable/10/etc/rc.d
Message-ID:  <201410092340.s99Ne9cR081154@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Thu Oct  9 23:40:08 2014
New Revision: 272864
URL: https://svnweb.freebsd.org/changeset/base/272864

Log:
  MFC r270836:
  
    Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.

Modified:
  stable/10/etc/rc.d/ip6addrctl
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/rc.d/ip6addrctl
==============================================================================
--- stable/10/etc/rc.d/ip6addrctl	Thu Oct  9 23:39:17 2014	(r272863)
+++ stable/10/etc/rc.d/ip6addrctl	Thu Oct  9 23:40:08 2014	(r272864)
@@ -75,6 +75,8 @@ ip6addrctl_start()
 		else
 			if checkyesno ipv6_activate_all_interfaces; then
 				ip6addrctl_prefer_ipv6
+			elif [ -n "$(list_vars ifconfig_\*_ipv6)" ]; then
+				ip6addrctl_prefer_ipv6
 			else
 				ip6addrctl_prefer_ipv4
 			fi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410092340.s99Ne9cR081154>