diff options
author | emax <emax@FreeBSD.org> | 2012-07-19 15:36:36 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2012-07-19 15:36:36 +0000 |
commit | 223e24232e0e22efa530b704fdcd40845e18cce8 (patch) | |
tree | f852ae23ce1cc993020b908d36ab3b7185c46cb6 /etc | |
parent | 4594375cbb5c1e8805aa630c4f87e0ca159eccdb (diff) | |
download | FreeBSD-src-223e24232e0e22efa530b704fdcd40845e18cce8.zip FreeBSD-src-223e24232e0e22efa530b704fdcd40845e18cce8.tar.gz |
Allow to specify no source-address-selection policy
MFC after: 1 week
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/ip6addrctl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.d/ip6addrctl b/etc/rc.d/ip6addrctl index c66a5ea..801d7bb 100755 --- a/etc/rc.d/ip6addrctl +++ b/etc/rc.d/ip6addrctl @@ -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." |