diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-12-02 22:13:03 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-12-02 22:13:03 -0500 |
| commit | 56f6b0335ce40aeab275f1038b96a8ecc642f18f (patch) | |
| tree | 92d8a4c47dec99f1be6e1aca0bb59bd64b48911b /MediaBrowser.Model/ApiClient/ServerCredentials.cs | |
| parent | c48458f215bd5ea1da3ef3636f801a4652e77aa0 (diff) | |
updated nuget
Diffstat (limited to 'MediaBrowser.Model/ApiClient/ServerCredentials.cs')
| -rw-r--r-- | MediaBrowser.Model/ApiClient/ServerCredentials.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/MediaBrowser.Model/ApiClient/ServerCredentials.cs b/MediaBrowser.Model/ApiClient/ServerCredentials.cs index 2490ba606..fbbc6c05d 100644 --- a/MediaBrowser.Model/ApiClient/ServerCredentials.cs +++ b/MediaBrowser.Model/ApiClient/ServerCredentials.cs @@ -50,10 +50,14 @@ namespace MediaBrowser.Model.ApiClient { existing.RemoteAddress = server.RemoteAddress; } - if (!existing.IsLocalAddressFixed && !string.IsNullOrEmpty(server.LocalAddress)) + if (!string.IsNullOrEmpty(server.LocalAddress)) { existing.LocalAddress = server.LocalAddress; } + if (!string.IsNullOrEmpty(server.ManualAddress)) + { + existing.LocalAddress = server.ManualAddress; + } if (!string.IsNullOrEmpty(server.Name)) { existing.Name = server.Name; @@ -62,9 +66,9 @@ namespace MediaBrowser.Model.ApiClient { existing.WakeOnLanInfos = server.WakeOnLanInfos.ToList(); } - if (server.IsLocalAddressFixed) + if (server.LastConnectionMode.HasValue) { - existing.IsLocalAddressFixed = true; + existing.LastConnectionMode = server.LastConnectionMode; } } else |
