python-iptools icon indicating copy to clipboard operation
python-iptools copied to clipboard

IpRangeList contains duplicates

Open yhvh opened this issue 7 years ago • 0 comments

I did not expect this behavior.

>>> list(iptools.IpRangeList('2.2.2.3/32', ('2.2.2.2', '2.2.2.5')))
['2.2.2.3', '2.2.2.2', '2.2.2.3', '2.2.2.4', '2.2.2.5']

Yes, I know set exists

yhvh avatar Mar 15 '17 16:03 yhvh