diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 4c0c3e88..a6200982 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -1283,10 +1283,13 @@ namespace WebSocketSharp /// /// Determines whether the specified represents - /// the local IP address. + /// a local IP address. /// + /// + /// This local means NOT REMOTE for the current host. + /// /// - /// true if represents the local IP address; + /// true if represents a local IP address; /// otherwise, false. /// /// @@ -1313,9 +1316,10 @@ namespace WebSocketSharp var host = System.Net.Dns.GetHostName (); var addrs = System.Net.Dns.GetHostAddresses (host); - foreach (var addr in addrs) + foreach (var addr in addrs) { if (address.Equals (addr)) return true; + } return false; }