浏览代码

updated comment

BaronGreenback 4 年之前
父节点
当前提交
78e97dbaa9
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Emby.Server.Implementations/ApplicationHost.cs

+ 2 - 1
Emby.Server.Implementations/ApplicationHost.cs

@@ -1203,7 +1203,8 @@ namespace Emby.Server.Implementations
         /// <inheritdoc/>
         public string GetLoopbackHttpApiUrl()
         {
-            // Passing an external address cause GetBindInterface to return an externally accessible interface (if possible).
+            // Passing an external address cause GetBindInterface to return the externally facing interface on a multi-adapter system.
+            // LocalNetworkSubnets and LocalNetworkAddresses are used in conjunction with the ip address to help select the best interface.
             return GetLocalApiUrl(NetManager.GetBindInterface("8.8.8.8", out var _), Uri.UriSchemeHttp, HttpPort);
         }