merge commit

This commit is contained in:
robvde 2014-10-22 20:57:53 +08:00
commit 8edcd5aeb8
6 changed files with 20 additions and 3 deletions

View file

@ -90,6 +90,11 @@ namespace WebsitePanel.Portal.ProviderControls
private int FindAddressByText(string address)
{
if (string.IsNullOrEmpty(address))
{
return 0;
}
foreach (IPAddressInfo addressInfo in ES.Services.Servers.GetIPAddresses(IPAddressPool.General, PanelRequest.ServerId))
{
if (addressInfo.InternalIP == address || addressInfo.ExternalIP == address)