Change socket type in nova.utils.get_my_ip() to SOCK_DGRAM. This way, we don't actually have to set up a connection.

Also, change the destination host to an IP (chose one of Google's DNS's at random) rather than a hostname, so we avoid doing a DNS lookup.
This commit is contained in:
Soren Hansen
2010-11-03 19:44:09 +00:00
committed by Tarmac

Diff Content Not Available