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.
1 parent 30b4ac1 commit c83273dCopy full SHA for c83273d
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