r1775 + renderIPRange(): fix row class computation
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 13 Mar 2008 10:38:13 +0000 (10:38 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 13 Mar 2008 10:38:13 +0000 (10:38 +0000)
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'>";