https://issues.apache.org/bugzilla/show_bug.cgi?id=49513

J.M. (Martijn) Kruithof <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
           Severity|normal                      |enhancement

--- Comment #4 from J.M. (Martijn) Kruithof <[email protected]> 2010-08-29 
17:15:33 EDT ---
I've modified the sources according to the following specification:

If two addresses have the same scope, the address with a hostname prevails over
the address without a hostname attached.

For local lookup, no IP address will be put anymore in NAME / DOMAIN.

For remote lookup, if a host name was provided and only an IP address is found,
the IP address will no longer overwrite the host name provided to the task.

Committed to revision 990653: http://svn.apache.org/viewvc?rev=990653&view=rev
Diff:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/HostInfo.java?rev=990653&r1=990652&r2=990653&view=diff

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to