ipv6 fixes

This commit is contained in:
Luke Pulverenti
2016-03-09 12:40:29 -05:00
parent c3ad2c47db
commit aa23da0dc4
5 changed files with 34 additions and 10 deletions

View File

@@ -161,7 +161,7 @@ namespace MediaBrowser.Dlna.Main
var descriptorURI = "/dlna/" + udn + "/description.xml";
var uri = new Uri(_appHost.GetLocalApiUrl(addressString) + descriptorURI);
var uri = new Uri(_appHost.GetLocalApiUrl(address) + descriptorURI);
var services = new List<string>
{

View File

@@ -171,7 +171,7 @@ namespace MediaBrowser.Dlna.PlayTo
private string GetServerAddress(IPAddress localIp)
{
return _appHost.GetLocalApiUrl(localIp.ToString());
return _appHost.GetLocalApiUrl(localIp);
}
public void Dispose()