ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49513] <hostinfo> does not correctly set hostname when ip is link-local
Date Sun, 29 Aug 2010 21:15:36 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49513

J.M. (Martijn) Kruithof <jkf@apache.org> changed:

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

--- Comment #4 from J.M. (Martijn) Kruithof <jkf@apache.org> 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.

Mime
View raw message