r4949 Load balancers list in ipv4slb page was not complete
authorAlexey Andriyanov <alan@al-an.info>
Wed, 8 Feb 2012 18:38:16 +0000 (18:38 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Wed, 8 Feb 2012 18:38:16 +0000 (18:38 +0000)
wwwroot/inc/slb-interface.php

index 26ee96fad390a55eaa928cb419278ba8566ae8bf..988917f4ab4bf3c54ef4f810f7d466fc8fc334a4 100644 (file)
@@ -217,8 +217,8 @@ function renderSLBTripletsEdit ($cell)
 function renderLBList ()
 {
        $cells = array();
-       foreach (getLBList() as $object_id => $poolcount)
-               $cells[$object_id] = spotEntity ('object', $object_id);
+       foreach (scanRealmByText('object', getConfigVar ('IPV4LB_LISTSRC')) as $object)
+               $cells[$object['id']] = $object;
        renderCellList ('object', 'items', FALSE, $cells);
 }