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

Hiroki Sato hrs at FreeBSD.org
Thu Aug 2 20:56:30 UTC 2012


Maksim Yevmenkin <emax at FreeBSD.org> wrote
  in <201207191536.q6JFabOR094467 at svn.freebsd.org>:

em> Author: emax
em> Date: Thu Jul 19 15:36:36 2012
em> New Revision: 238622
em> URL: http://svn.freebsd.org/changeset/base/238622
em>
em> Log:
em>   Allow to specify no source-address-selection policy
em>
em>   MFC after:	1 week
em>
em> Modified:
em>   head/etc/rc.d/ip6addrctl
em>
em> Modified: head/etc/rc.d/ip6addrctl
em> ==============================================================================
em> --- head/etc/rc.d/ip6addrctl	Thu Jul 19 14:43:46 2012	(r238621)
em> +++ head/etc/rc.d/ip6addrctl	Thu Jul 19 15:36:36 2012	(r238622)
em> @@ -83,6 +83,9 @@ ip6addrctl_start()
em>  		# Backward compatibility when ipv6_prefer=NO
em>  		ip6addrctl_prefer_ipv4
em>  	;;
em> +	[Nn][Oo][Nn][Ee])
em> +		ip6addrctl flush >/dev/null 2>&1
em> +	;;
em>  	*)
em>  		warn "\$ip6addrctl_policy is invalid: ${ip6addrctl_policy}. " \
em>  		    " \"ipv4_prefer\" is used instead."

 Just curious, why ip6addrctl_enable=NO is not enough here?  I would
 like to eliminate yes/no/none keywords in $ip6addrctl_policy because
 such keywords are vague.  If we need the empty rule for some reason,
 "empty" would be a better name for the policy, I think.

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20120802/b24c7d13/attachment.pgp


More information about the svn-src-head mailing list