Skip to content

Conversation

alexwhitman
Copy link

Previous code checked for / first, so a range such as

127.0.0.0/24-127.0.3.0/24

would be parsed as a network which would then split on '/' to determine the IP and netmask, eventually causing an invalid IP to be parsed, throwing an error.

Previous code checked for '/' first, so a range such as

127.0.0.0/24-127.0.3.0/24

would be parsed as a network which would then split on '/' to
determine the IP and netmask, eventually causing an invalid IP
to be parsed, throwing an error.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 97.595% when pulling fba4605 on alexwhitman:range-cidr-fix into f6f8ab6 on S1lentium:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants