svn commit: r270836 - head/etc/rc.d

Hiroki Sato hrs at FreeBSD.org
Sat Aug 30 07:08:10 UTC 2014


Author: hrs
Date: Sat Aug 30 07:08:10 2014
New Revision: 270836
URL: http://svnweb.freebsd.org/changeset/base/270836

Log:
  Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.
  
  Discussed on:	-net@

Modified:
  head/etc/rc.d/ip6addrctl

Modified: head/etc/rc.d/ip6addrctl
==============================================================================
--- head/etc/rc.d/ip6addrctl	Sat Aug 30 03:41:47 2014	(r270835)
+++ head/etc/rc.d/ip6addrctl	Sat Aug 30 07:08:10 2014	(r270836)
@@ -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


More information about the svn-src-head mailing list