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

Checking if subnet is in range of another subnet #1

Open
Awmusic12635 opened this issue May 8, 2014 · 0 comments
Open

Checking if subnet is in range of another subnet #1

Awmusic12635 opened this issue May 8, 2014 · 0 comments

Comments

@Awmusic12635
Copy link

The isInRange() Method in its current form cannot check if a smaller subnet is part of a larger subnet. Would be really nice if it could be updated to support that.

Example

CIDRUtils ipblock = new CIDRUtils("107.0.0.0/8");
ipblock.isInRage("107.0.1.0/24");

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