|
@@ -195,7 +195,7 @@ public class HostInfo extends Task { |
|
|
// address without hostname |
|
|
// address without hostname |
|
|
if (best.isLoopbackAddress() |
|
|
if (best.isLoopbackAddress() |
|
|
|| best.isLinkLocalAddress() |
|
|
|| best.isLinkLocalAddress() |
|
|
|| !hasHostName(best)) { |
|
|
|
|
|
|
|
|
|| (best.isSiteLocalAddress() && !hasHostName(best))) { |
|
|
best = current; |
|
|
best = current; |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|