Fixed issue #374 with adding a range of IP addresses

This commit is contained in:
Feodor 2012-09-24 10:22:22 -07:00
parent 19b546333e
commit 190a02758a
3 changed files with 4 additions and 4 deletions

View file

@ -69,7 +69,7 @@ namespace WebsitePanel.EnterpriseServer {
return "";
var s = new System.Text.StringBuilder();
if (!V6) {
var ipl = (long)Address;
var ipl = Address;
s.Append(String.Format("{0}.{1}.{2}.{3}", (ipl >> 24) & 0xFFL, (ipl >> 16) & 0xFFL, (ipl >> 8) & 0xFFL, (ipl & 0xFFL)));
} else if (!IsMask) {