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

Range fault when adding adjacent ip addresses #1

Open
system- opened this issue Dec 31, 2017 · 1 comment
Open

Range fault when adding adjacent ip addresses #1

system- opened this issue Dec 31, 2017 · 1 comment
Assignees
Labels

Comments

@system-
Copy link

system- commented Dec 31, 2017

just found if you put adjacent ip addresses like:"192.0.0.1&192.0.0.2" in the white list, and because you use
scope += Substract(ip) + "," + Add(ip) + "-";
for representation, it will run into a range fault.
I'm thinking of
for Substract: if newBytes is contained in the list then -1
for add :if newBytes is contained in the list then +1
Never learned C# though.
Maybe you'll fix it?

@CodeSwine CodeSwine self-assigned this Dec 31, 2017
@CodeSwine CodeSwine added the bug label Dec 31, 2017
@CodeSwine
Copy link
Owner

Hi, thanks for bringing this up. I'll look into it.

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

No branches or pull requests

2 participants