r1775 + renderIPRange(): fix row class computation
[racktables] / inc / interface.php
index 3103c10f4842ec0ab3a5676ff89c89e04e7c7bff..24a19aabf90f4d4955c9c001a79b54320d480fa6 100644 (file)
@@ -1861,7 +1861,7 @@ function renderIPRange ($id)
                        $addr = $range['addrlist'][$ip];
                        if ( ($numshared > 0 && $numreg > 0) || $numreg > 1 )
                                echo "<tr class='trerror'>";
-                       elseif ( $addr['reserved'] == 'yes' and $numshared+$numreg+$numvirt > 0)
+                       elseif ( $addr['reserved'] == 'yes' and $numshared+$numreg+$numvirt+$numlb+$numrs > 0)
                                echo "<tr class='trerror'>";
                        elseif ( $addr['reserved'] == 'yes')
                                echo "<tr class='trbusy'>";