[Modify] Throw exception
This commit is contained in:
parent
4c7d2c9178
commit
fb791129b6
@ -1359,7 +1359,7 @@ namespace WebSocketSharp
|
||||
public static bool IsLocal (this System.Net.IPAddress address)
|
||||
{
|
||||
if (address == null)
|
||||
return false;
|
||||
throw new ArgumentNullException ("address");
|
||||
|
||||
if (address.Equals (System.Net.IPAddress.Any))
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user