Fix previous commit and parsing of ipmasks like 127/8.