mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 04:12:51 +00:00
MFC r270836:
Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.
This commit is contained in:
parent
dc7e1ee0ff
commit
b9673d4be6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=272864
@ -75,6 +75,8 @@ ip6addrctl_start()
|
|||||||
else
|
else
|
||||||
if checkyesno ipv6_activate_all_interfaces; then
|
if checkyesno ipv6_activate_all_interfaces; then
|
||||||
ip6addrctl_prefer_ipv6
|
ip6addrctl_prefer_ipv6
|
||||||
|
elif [ -n "$(list_vars ifconfig_\*_ipv6)" ]; then
|
||||||
|
ip6addrctl_prefer_ipv6
|
||||||
else
|
else
|
||||||
ip6addrctl_prefer_ipv4
|
ip6addrctl_prefer_ipv4
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user