Fix how the IP is selected in the MSFTP70 Settings page
This commit is contained in:
parent
1dbaca9698
commit
22d6736d29
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue