Merge pull request #758 from magnayn/master

Simple fix.
This commit is contained in:
Adrian Cole 2012-07-28 10:50:01 -07:00
commit c0d21a7d09
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public class VM {
for (int i = 0; i < 30; i++) { for (int i = 0; i < 30; i++) {
ipAddresses = host.getVMIpAddresses(uuid); ipAddresses = host.getVMIpAddresses(uuid);
if (ipAddresses.isEmpty()) { if (!ipAddresses.isEmpty()) {
// Got some // Got some
String ip = ipAddresses.get("net0"); String ip = ipAddresses.get("net0");
if (ip != null && !ip.equals("0.0.0.0")) if (ip != null && !ip.equals("0.0.0.0"))