hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anandan Mohan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1459) InetAddressUtils.isIPv6Address is not identifying my IPv6 Address
Date Tue, 11 Feb 2014 15:17:20 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897909#comment-13897909
] 

Anandan Mohan commented on HTTPCLIENT-1459:
-------------------------------------------

when I hit ipconfig in my pc, i get this address and I tried to verify it online and it goes
fine as well. (http://www.intermapper.com/ipv6validator) 

Ethernet adapter Local Area Connection* 12:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::8519:655:9f74:f824%20
   IPv4 Address. . . . . . . . . . . : 10.255.0.123
   Subnet Mask . . . . . . . . . . . : 255.255.254.0
   Default Gateway . . . . . . . . . :

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . : europe.n.com
   Link-local IPv6 Address . . . . . : fe80::ac5e:909d:c191:e758%18
   IPv4 Address. . . . . . . . . . . : 10.236.10.248
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.236.10.1

Ethernet adapter Local Area Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : europe.n.com


> InetAddressUtils.isIPv6Address is not identifying my IPv6 Address
> -----------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1459
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1459
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.3.2
>         Environment: Windows 7 64bit OS
> JDK 1.6
>            Reporter: Anandan Mohan
>            Priority: Minor
>              Labels: InetAddressUtils
>             Fix For: 4.3.2
>
>
> Hi, 
> I did a random IPv6 test using InetAddressUtils.isIPv6Address method using my local PC
address, it failed. 
> Assert.assertTrue(InetAddressUtils.isIPv6Address("fe80::ac5e:909d:c191:e758%18"));
> It does works with other IPv6 formats. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message