Fixed issue #374 with adding a range of IP addresses
This commit is contained in:
parent
19b546333e
commit
190a02758a
3 changed files with 4 additions and 4 deletions
|
@ -988,7 +988,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
if (startExternalIP.V6 != startInternalIP.V6 && (startExternalIP.V6 != endExternalIP.V6 && endExternalIP != null)) throw new NotSupportedException("All IP addresses must be either V4 or V6.");
|
||||
|
||||
int i = 0;
|
||||
long step = (endExternalIP < startExternalIP) ? -1 : 1;
|
||||
long step = ((endExternalIP - startExternalIP) > 0) ? 1 : -1;
|
||||
|
||||
while (true)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue