robertlazarski commented on PR #842:
URL: 
https://github.com/apache/axis-axis2-java-core/pull/842#issuecomment-2659379241

   @cortlepp this Linux command below shows a localhost ipv6 address and an 
ipv6 address assigned from a router.  
   
   ip a | grep inet6
   
   inet6 ::1/128 scope host noprefixroute 
   inet6 fe80::88ab:80b7:2eec:37d7/64 scope link noprefixroute
   
   That last IP should be returned in the List from this new method as one of 
the IP's, correct? 
   
   While I did not commit those println statements in the unit tests, I use 
them liberally while debugging Axis2 unit tests and in the right place you can 
see the output in the unit tests as described. 
   
   I saw my ipv6 address assigned from my router in the beginning of the method 
but somehow it got filtered out. 
   
   Your code does return an ipv4 address as the first in the List. From what I 
understand of the code, the List should contain my ipv6 address from my router 
but probably the first entry should be ipv4 as the priority? 
   
   I suppose the point here is that if there was no ipv4 address on my 
localhost on only ipv6, that would be returned. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to