Re: Issue 54 in netaddr: IP recognition failure

1 view
Skip to first unread message

codesite...@google.com

unread,
Sep 2, 2010, 1:15:35 AM9/2/10
to net...@googlegroups.com

Comment #5 on issue 54 by dan...@cooper.ro: IP recognition failure
http://code.google.com/p/netaddr/issues/detail?id=54

I have a related problem. I'm parsing a lot of data from old IP address
spreadsheets at my company (we have millions of IPs) and sometimes the IPs
are represented like this: 192.168.016.000.
I was using IPAddress(192.168.016.000).format() to normalise the IPs (eg.
192.168.16.0). This was working fine most of the time, but I noticed when
doing this IP: 192.168.016.000 .format() resulted in: 192.168.14.0!


Reply all
Reply to author
Forward
0 new messages