We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 30b4ac1 + c83273d commit 2e6af27Copy full SHA for 2e6af27
Assets/Scripts/Miscellaneous/IPUtils.cs
@@ -16,7 +16,7 @@ public static bool IsIPValid(string ipAddress)
16
if (ipAddress == "localhost" || ipAddress == Robot.VIRTUAL_ROBOT_IP)
17
return true;
18
19
- else if ((Regex.IsMatch(ipAddress, @"^reachy2-\w+\.local$")))
+ else if (Regex.IsMatch(ipAddress, @"^reachy2-\w+\.local$") || Regex.IsMatch(ipAddress, @"^r2-\w+\.local$"))
20
21
22
else
0 commit comments