Преглед изворни кода

Fix issue with Subnet usage computation

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2451 a333f486-631f-4898-b8df-5754b55c2be0
etaloc пре 12 година
родитељ
комит
a6fce5ea92
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml

+ 1 - 1
datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml

@@ -6421,7 +6421,7 @@
 			$oPage->p(Dict::Format('Class:Subnet/Tab:FreeIPs-count', $iFreeCount));
 			$oPage->p(Dict::S('Class:Subnet/Tab:FreeIPs-explain'));
 	
-			$aUsedIPs = $oIfSet->GetColumnAsArray('ip_address', false);
+			$aUsedIPs = $oIfSet->GetColumnAsArray('ipaddress', false);
 			$iAnIP = $iIPMin;
 			$iFound = 0;
 			while (($iFound < min($iFreeCount, 10)) && ($iAnIP <= $iIPMax))