Skip Menu |

This queue is for tickets about the Net-IP CPAN distribution.

Report information
The Basics
Id: 121451
Status: new
Priority: 0/
Queue: Net-IP

People
Owner: Nobody in particular
Requestors: KES [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: FR: Implement flag to allow one in last part
The code has comment: # Check if last part of the IP (len part) has only 0s And it is OK. But postgres has two types: CIDR and INET [DOC](https://www.postgresql.org/docs/9.6/static/datatype-net-types.html) select '255.1.0.0/8'::cidr; ERROR: invalid cidr value: "255.1.0.0/8" DETAIL: Value has bits set to right of mask. db=# select '255.1.0.0/8'::inet; 255.1.0.0/8 http://stackoverflow.com/a/43557019/4632019 Please implement flag to allow ::inet format when Net::IP object is created. thank you.