On 03/18/2013 01:08 PM, Alan Robertson wrote:
> This is certainly strange... I can check the code for things that
> might cause it format an IP address this way:
> [::ffff:-43.-118.100.-51]:57225
> Looks like the original IP addresses involved might be one of these:
> 213.138.100.205/24 213.138.100.255
OK. I had overlooked test cases for the toIPv6() function (which is
implicated by the results).
I added test cases for both of those IP addresses + 255.255.255.255 in
the test code, and ItWorksForMe.
Did this code pass the testify tests on this OS?
Those tests beat up conversion to and from strings pretty well - and now
even a little better...
--
Alan Robertson <[email protected]> - @OSSAlanR
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/