Skip to content

Commit c16ba2f

Browse files
fix
Missed the bool
1 parent c91d0a8 commit c16ba2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ private NetworkPipeline SelectSendPipeline(NetworkDelivery delivery)
544544
}
545545

546546
#if HOSTNAME_RESOLUTION_AVAILABLE && UTP_TRANSPORT_2_4_ABOVE
547-
private static IsValidFqdn(string fqdn)
547+
private static bool IsValidFqdn(string fqdn)
548548
{
549549
// Regular expression to validate FQDN
550550
string pattern = @"^(?=.{1,255}$)(?!-)[A-Za-z0-9-]{1,63}(?<!-)\.(?!-)(?:[A-Za-z0-9-]{1,63}\.?)+[A-Za-z]{2,6}$";

0 commit comments

Comments
 (0)