svn commit: r238995 - stable/9/etc/rc.d

Maksim Yevmenkin emax at FreeBSD.org
Thu Aug 2 20:49:12 UTC 2012


Author: emax
Date: Thu Aug  2 20:49:11 2012
New Revision: 238995
URL: http://svn.freebsd.org/changeset/base/238995

Log:
  MFC r238622
  
  Allow to specify no source-address-selection policy
  
  Approved by:	re (kib)

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

Modified: stable/9/etc/rc.d/ip6addrctl
==============================================================================
--- stable/9/etc/rc.d/ip6addrctl	Thu Aug  2 20:48:22 2012	(r238994)
+++ stable/9/etc/rc.d/ip6addrctl	Thu Aug  2 20:49:11 2012	(r238995)
@@ -83,6 +83,9 @@ ip6addrctl_start()
 		# Backward compatibility when ipv6_prefer=NO
 		ip6addrctl_prefer_ipv4
 	;;
+	[Nn][Oo][Nn][Ee])
+		ip6addrctl flush >/dev/null 2>&1
+	;;
 	*)
 		warn "\$ip6addrctl_policy is invalid: ${ip6addrctl_policy}. " \
 		    " \"ipv4_prefer\" is used instead."


More information about the svn-src-stable mailing list