ref: 0af11f97b582754df36b588e04fd9d9377b50823
parent: 66b9196f77442ba8a2cbb1396c7640fd4176c4eb
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Feb 11 18:26:57 EST 2019
libip: replace v4parsecidr() with new parseipandmask() we want to accept V4 subnets in CIDR notation consistently which means we need to interpret the mask in context of the IP address. so parseipmask() now has an additional v4 flag argument which offsets the prefixlength by 96 so a /24 will be interpreted as a /120. parseipandmask() is the new function which handles this automatically depending on the ip address type. v4parsecidr() is now obsolete.