r2065 + now "virtual" allocations make the IP address be rendered reserved
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 17 Jul 2008 14:00:02 +0000 (14:00 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 17 Jul 2008 14:00:02 +0000 (14:00 +0000)
inc/interface.php

index 3e79e88b9901b681339e564f27e597dcc2b340f0..f7c33df43208ce16da238180c24221caa2509418 100644 (file)
@@ -2064,7 +2064,7 @@ function renderIPRange ($id)
                                echo "<tr class='trerror'>";
                        elseif ( $addr['reserved'] == 'yes')
                                echo "<tr class='trbusy'>";
-                       elseif ( $numshared > 0 || $numreg > 0 || $numlb > 0 || $numrs > 0)
+                       elseif ($numshared + $numreg + $numvirt + $numlb + $numrs > 0)
                                echo "<tr class='trbusy'>";
                        else
                                echo "<tr>";