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

Add function to turn AddressRange into set of prefixes #306

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Koenvh1
Copy link

@Koenvh1 Koenvh1 commented Oct 17, 2024

Prefixes can already be turned into a range - this code adds the inverse

@Koenvh1 Koenvh1 requested review from a team and tertsdiepraam October 17, 2024 14:33
return None;
}

let addr_host_bits = start.trailing_zeros();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be nice to provide a short prose summary of what this is doing.

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.

3 participants