Try IPv4 or IPv6 more often based on public or private IP addresses
Suggested by teor at #17835 (moved):
- If the machine has public IPv4 addresses, try IPv4 a lot more often
- If the machine has public IPv6 addresses, try IPv6 a lot more often
- If the machine has private IPv4 addresses, try IPv4 a little bit more often
- If the machine has private IPv6 addresses (excluding link-local addresses), try IPv6 a little bit more often