Ignore:
Timestamp:
May 11, 2009, 9:59:42 PM (16 years ago)
Author:
george
Message:
  • Opraveno: Nevkládat nepoužitá zařízení do sledování online stavu.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/system/generators/netwatch.php

    r213 r215  
    1616    $I = explode('.', $Subnet['AddressRange']);
    1717    $I = $I[2];
    18     $DbResult2 = $Database->query('SELECT NetworkInterface.*, NetworkDevice.Name AS DeviceName FROM NetworkInterface LEFT JOIN NetworkDevice ON NetworkDevice.Id = NetworkInterface.Device WHERE (NetworkInterface.LocalIP LIKE "192.168.'.$I.'.%") ORDER BY NetworkInterface.LocalIP');
     18    $DbResult2 = $Database->query('SELECT NetworkInterface.*, NetworkDevice.Name AS DeviceName FROM NetworkInterface LEFT JOIN NetworkDevice ON NetworkDevice.Id = NetworkInterface.Device WHERE (NetworkInterface.LocalIP LIKE "192.168.'.$I.'.%") AND (NetworkDevice.Used = 1) ORDER BY NetworkInterface.LocalIP');
    1919    while($Interface = $DbResult2->fetch_assoc())
    2020    {
Note: See TracChangeset for help on using the changeset viewer.