Browse Source

fixed error in patch committed yesterday.

Site Local with address no longer overwrites global without.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@990692 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 15 years ago
parent
commit
54d098809f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/HostInfo.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/HostInfo.java View File

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


Loading…
Cancel
Save