diff options
author | hrs <hrs@FreeBSD.org> | 2014-10-09 23:40:08 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2014-10-09 23:40:08 +0000 |
commit | 639504a9ff558f782bafc26dd66d9fe777b4d539 (patch) | |
tree | e10521e2221d0da6e5c18ecb6d8c10b83e7c7cc5 | |
parent | c277f8d098a8ab06ec6aa0425d4c60f8697c0c54 (diff) | |
download | FreeBSD-src-639504a9ff558f782bafc26dd66d9fe777b4d539.zip FreeBSD-src-639504a9ff558f782bafc26dd66d9fe777b4d539.tar.gz |
MFC r270836:
Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.
-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 |