Closed vorner closed 4 years ago
Currently the Ipv4Network can be parsed from ip/prefix representation (eg. 192.168.2.1/24), but the older ip/mask (192.168.2.1/255.255.255.0) is rejected. Would it make sense to add such support too?
ip/prefix
192.168.2.1/24
ip/mask
192.168.2.1/255.255.255.0
Sure, sounds good. The only reason it was not added is no one requested it :)
OK, I'll put it into my queue to send it it. It might happen in a week or two, hopefully.
Thanks @vorner!
Currently the Ipv4Network can be parsed from
ip/prefix
representation (eg.192.168.2.1/24
), but the olderip/mask
(192.168.2.1/255.255.255.0
) is rejected. Would it make sense to add such support too?