Browse Source

Remove redundant parenthesis

Xu Fasheng 6 years ago
parent
commit
7429c07c05
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/Networking/NetworkManager.cs

+ 1 - 1
Emby.Server.Implementations/Networking/NetworkManager.cs

@@ -414,7 +414,7 @@ namespace Emby.Server.Implementations.Networking
                     // Try to exclude virtual adapters
                     // http://stackoverflow.com/questions/8089685/c-sharp-finding-my-machines-local-ip-address-and-not-the-vms
                     var addr = ipProperties.GatewayAddresses.FirstOrDefault();
-                    if (addr == null || (ignoreVirtualInterface && string.Equals(addr.Address.ToString(), "0.0.0.0", StringComparison.OrdinalIgnoreCase)))
+                    if (addr == null || ignoreVirtualInterface && string.Equals(addr.Address.ToString(), "0.0.0.0", StringComparison.OrdinalIgnoreCase))
                     {
                         return new List<IPAddress>();
                     }