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 classless prefixes #23

Open
majst01 opened this issue May 13, 2020 · 1 comment
Open

Support classless prefixes #23

majst01 opened this issue May 13, 2020 · 1 comment

Comments

@majst01
Copy link
Contributor

majst01 commented May 13, 2020

For prefixes which are not for machines, but only for prefix ranges available for other purposes, wasting the network and the broadcast address is bad.

Add a flag for prefix acquire to skip this reservation

@majst01
Copy link
Contributor Author

majst01 commented May 23, 2020

Should remove this assumption that broadcast and network IP are blocked. Instead this should be delegated to the caller and provide cidr.IsBroadCast() and cidr.IsNetwork() to let the caller decide whether to use these ip´s or not.

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