Subject: | parsing big integers confuses IP versions |
As reported by Florian Lohoff in https://bugs.debian.org/838274 :
% perl -MNetAddr::IP -e '$a=new NetAddr::IP('9000092018'); print $a->version(). "\n"; print $a . "\n"'
4
0:0:0:0:0:2:1872:8172/128
I would expect the version part to be 6. It looks like integers too big to fit in IPv4 space still get labelled as IPv4 ones.