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

Feature Request - First and Last on IPNetwork #106

Open
LaughingJohn opened this issue Jun 3, 2020 · 2 comments
Open

Feature Request - First and Last on IPNetwork #106

LaughingJohn opened this issue Jun 3, 2020 · 2 comments

Comments

@LaughingJohn
Copy link

Hi,

Great library. I wanted the actual first and last IP addresses in a range, so it would be helpful if there was a .Last() and .First() method as well as .LastUsable() and .FirstUsable().

I had to use a different library in the end.

Thanks!

@billpg
Copy link
Contributor

billpg commented Dec 22, 2022

@LaughingJohn Do you have an example of when you'd expect First and Last to produce a different result?

@LaughingJohn
Copy link
Author

Hi @billpg, thanks for coming back to me. Sorry I haven't a specific example - it was a long time ago. My memory is hazy, but I think the basic premise was that if a range included some 'unsusable' addresses, there wasn't a way of getting the actual first/last only first/last usable addresses (which I guess I didn't care about). Sorry hard to be more specific after so long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants