Update Emby.Server.Implementations/Networking/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
BaronGreenback 2020-06-01 09:57:48 +01:00 committed by GitHub
parent 455e464445
commit fbd02a493b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,12 +123,7 @@ namespace Emby.Server.Implementations.Networking
/// <inheritdoc/> /// <inheritdoc/>
public List<PhysicalAddress> GetMacAddresses() public List<PhysicalAddress> GetMacAddresses()
{ {
if (_macAddresses == null) return _macAddresses ??= GetMacAddressesInternal().ToList();
{
_macAddresses = GetMacAddressesInternal().ToList();
}
return _macAddresses;
} }
/// <inheritdoc/> /// <inheritdoc/>