Skip to content

fix: IP range validation and improved error handling #430

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

famouswizard
Copy link

I have corrected the ranges for both IPv4 and IPv6 to ensure they align with valid address formats.
Additionally, I’ve added a try-except block to better handle exceptions related to incorrect IP values. If an invalid IP is encountered, the error message is now more informative and easier to understand.

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.

1 participant