We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
IS: static IP address regex simply checks if the IP address looks like an IPv4 address https://github.com/PhotonVision/photonvision/blob/78b82e3a96d04f79e0b70746dd975c10c8ff1294/photon-client/src/components/settings/NetworkingCard.vue#L33C1-L39C3 https://stackoverflow.com/a/17871737
Should Be: static IP regex checks if on the comp legal range. for 2025, .6-.19 is legal.
The text was updated successfully, but these errors were encountered:
regexr.com/8beu1 suggests that ^((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}0?(1[0-9]|10)$ works.
^((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}0?(1[0-9]|10)$
Sorry, something went wrong.
Nit but .220 and up is also technically allowed. https://docs.wpilib.org/en/stable/docs/networking/networking-introduction/ip-configurations.html#on-the-field-dhcp-configuration
Should we allow users to set that? Surely .6 to .19 will be enough for anyone.
No, you're right
good to know for later down the road i guess if Redux puts everything on ethercat
Successfully merging a pull request may close this issue.
IS: static IP address regex simply checks if the IP address looks like an IPv4 address
https://github.com/PhotonVision/photonvision/blob/78b82e3a96d04f79e0b70746dd975c10c8ff1294/photon-client/src/components/settings/NetworkingCard.vue#L33C1-L39C3
https://stackoverflow.com/a/17871737
Should Be: static IP regex checks if on the comp legal range. for 2025, .6-.19 is legal.
![Image](https://private-user-images.githubusercontent.com/29715865/406808818-a4fc8fcd-2400-4940-891b-b8d3fc3b79f7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMTc4MTQsIm5iZiI6MTczOTMxNzUxNCwicGF0aCI6Ii8yOTcxNTg2NS80MDY4MDg4MTgtYTRmYzhmY2QtMjQwMC00OTQwLTg5MWItYjhkM2ZjM2I3OWY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDIzNDUxNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE0MzhiMTc3YWE5ZjM1OWVkNzc5ZjhkOWJlYmYxZTc1OTZiNjY1MjlmZDA5ZGI2MzU0NjhlZWRjM2IwYjY2M2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.iV1SPA6GgznBMGvfgYqAli_-6JxAhR6TyYCUFgNIF04)
The text was updated successfully, but these errors were encountered: