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

prefixLen in NextSubnet and PreviousSubnet? #17

Open
lewisthompson opened this issue Oct 17, 2019 · 0 comments
Open

prefixLen in NextSubnet and PreviousSubnet? #17

lewisthompson opened this issue Oct 17, 2019 · 0 comments

Comments

@lewisthompson
Copy link

lewisthompson commented Oct 17, 2019

Given these functions take a net.IPNet is there any reason you also need prefixLen? Can this not be calculated from net.IPNet.Mask?

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

No branches or pull requests

1 participant