-
Committer:
Tarmac
-
Author(s):
Soren Hansen
-
Date:
2010-11-03 19:44:09 UTC
-
mfrom:
(390.1.1 lp668229)
-
Revision ID:
hudson@openstack.org-20101103194409-gwxgkydtzsh0vwwb
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.