summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/ip6addrctl
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2010-09-13 19:51:15 +0000
committerhrs <hrs@FreeBSD.org>2010-09-13 19:51:15 +0000
commit3319d93aea4340bab959aaa636738910a48960da (patch)
treedcff0aae5c63fdf041424dbf02aaddadf00353be /etc/rc.d/ip6addrctl
parent7766ec39d496d5f467624ce957fb8cbc33958626 (diff)
downloadFreeBSD-src-3319d93aea4340bab959aaa636738910a48960da.zip
FreeBSD-src-3319d93aea4340bab959aaa636738910a48960da.tar.gz
Revert changes in r206408.
Discussed with: dougb, core.5, and core.6
Diffstat (limited to 'etc/rc.d/ip6addrctl')
-rwxr-xr-xetc/rc.d/ip6addrctl2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.d/ip6addrctl b/etc/rc.d/ip6addrctl
index 3963b07..d3b1856 100755
--- a/etc/rc.d/ip6addrctl
+++ b/etc/rc.d/ip6addrctl
@@ -20,6 +20,8 @@ status_cmd="ip6addrctl"
prefer_ipv6_cmd="ip6addrctl_prefer_ipv6"
prefer_ipv4_cmd="ip6addrctl_prefer_ipv4"
+set_rcvar_obsolete ipv6_enable ipv6_prefer
+
ip6addrctl_prefer_ipv6()
{
afexists inet6 || return 0
OpenPOWER on IntegriCloud