X-Git-Url: https://code.racktables.org/racktables/blobdiff_plain/4e60a63b7e596696a3d8086dc0a28b959ad878d1..ab1283b7824b4995b33e8cc9e29f765804cf67c2:/inc/interface.php
diff --git a/inc/interface.php b/inc/interface.php
index a733f960..3eaa2d29 100644
--- a/inc/interface.php
+++ b/inc/interface.php
@@ -2101,16 +2101,14 @@ function renderIPv4SpaceEditor ()
echo "
\n";
finishPortlet();
- $addrspaceList = listCells ('ipv4net');
- array_walk ($addrspaceList, 'amplifyCell');
- if (count ($addrspaceList))
+ if (count ($addrspaceList = listCells ('ipv4net')))
{
startPortlet ('Manage existing (' . count ($addrspaceList) . ')');
echo "
prefix | name | ||
---|---|---|---|
prefix | name | '; + echo "${netinfo['ip']}/${netinfo['mask']} | "; + echo '' . htmlspecialchars ($netinfo['name']) . ' | '; } echo "