Tighten static ip regex
Closes https://github.com/PhotonVision/photonvision/issues/1750 by only allowing .10-.19
Does this new pattern block people from setting arbitrary IP addresses when they are connected to a home router rather than the robot? I’m on my phone now, so I can’t easily check. I can investigate tonight if you don’t know the answer.
Does this new pattern block people from setting arbitrary IP addresses when they are connected to a home router rather than the robot? I’m on my phone now, so I can’t easily check. I can investigate tonight if you don’t know the answer.
We might want to notify the user that the address is outside legal competition range, but still allow them to set it.
Yes, it totally blocks anything outside of that range. Which if your router is handing out dhcp leases there, you're kinda sol.