Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "compact CIDR": trailing zeros may be omitted from IP part. #143

Closed
wants to merge 1 commit into from

Conversation

haight6716
Copy link

This is a non-standard but common shorthand when referring to
CIDR networks.

This is a non-standard but common shorthand when referring to
CIDR networks.
@kennethtran93
Copy link
Contributor

kennethtran93 commented Aug 1, 2020

I have no complaints if it works. Just that I have never seen that usage before during my recent 4 years of post secondary. I just hope that they will understand that the parsing for IP Address will not be equal if they enter '8' vs '8/8' as this doesn't implicitly imply /32 masking if '8' was entered as is.

@whitequark
Copy link
Owner

I think this is too obscure to be in scope for this library. I may reconsider if the use case is sufficiently motivated (with sample use of such syntax done by a major vendor).

@whitequark whitequark closed this May 23, 2023
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.

None yet

3 participants