r1270 + renderIPRange(): fix check in IP range iteration to verify proper var
authorDenis Ovsienko <infrastation@yandex.ru>
Wed, 14 Nov 2007 12:52:32 +0000 (12:52 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 14 Nov 2007 12:52:32 +0000 (12:52 +0000)
inc/interface.php

index 3b2c974c3de1e08af29c586272f0802bc29d79d1..b05269605a1dd428bcc3e405df4adfaf2eaeb502 100644 (file)
@@ -1705,7 +1705,7 @@ function renderIPRange ()
 
        for($ip = $startip; $ip<=$endip; $ip++)
        {
-               if ( (isset($range['addrlist'][$ip])) && ($range['addrlist'][$ip]['ip_bin'] == $ip) )
+               if (isset ($range['addrlist'][$ip]))
                {
                        $numshared = countRefsOfType($range['addrlist'][$ip]['references'], 'shared', 'eq');
                        $numreg = countRefsOfType($range['addrlist'][$ip]['references'], 'regular', 'eq');