Skip to content

Commit c83273d

Browse files
committed
Update IPUtils script.
1 parent 30b4ac1 commit c83273d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Scripts/Miscellaneous/IPUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static bool IsIPValid(string ipAddress)
1616
if (ipAddress == "localhost" || ipAddress == Robot.VIRTUAL_ROBOT_IP)
1717
return true;
1818

19-
else if ((Regex.IsMatch(ipAddress, @"^reachy2-\w+\.local$")))
19+
else if (Regex.IsMatch(ipAddress, @"^reachy2-\w+\.local$") || Regex.IsMatch(ipAddress, @"^r2-\w+\.local$"))
2020
return true;
2121

2222
else

0 commit comments

Comments
 (0)