Skip to content

Fix subnet mask detection #20

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

Merged

Conversation

Minemetero
Copy link
Owner

Summary

  • detect OS before choosing method for network mask lookup
  • parse network mask from ip/ifconfig or netifaces when not on Windows
  • install build deps from requirements

Testing

  • python -m py_compile $(git ls-files '*.py')
  • python - <<'PY' from network_scanner.scanner import get_ip_range try: r = get_ip_range() print("network:", r) except Exception as e: print("error", e) PY

https://chatgpt.com/codex/tasks/task_e_68612b0ee17c83288176601c686f8251

@Minemetero Minemetero merged commit 83dc158 into master Jun 29, 2025
1 check passed
@Minemetero Minemetero deleted the codex/update-subnet-mask-detection-for-linux/macos branch June 29, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant