diff options
author | hrs <hrs@FreeBSD.org> | 2014-08-30 07:08:10 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2014-08-30 07:08:10 +0000 |
commit | c27f28026935d1ee3cc82aacd01b1dc04682ec15 (patch) | |
tree | 53da1af6ef486a0ca6002ecd27a11505587144a0 /etc/rc.d/ip6addrctl | |
parent | 4cf719a9ee69df9bc4f27f36aead3563d782ad41 (diff) | |
download | FreeBSD-src-c27f28026935d1ee3cc82aacd01b1dc04682ec15.zip FreeBSD-src-c27f28026935d1ee3cc82aacd01b1dc04682ec15.tar.gz |
Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.
Discussed on: -net@
Diffstat (limited to 'etc/rc.d/ip6addrctl')
-rwxr-xr-x | etc/rc.d/ip6addrctl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.d/ip6addrctl b/etc/rc.d/ip6addrctl index a7aa90c..8b7486f 100755 --- a/etc/rc.d/ip6addrctl +++ b/etc/rc.d/ip6addrctl @@ -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 |