Changeset 215 for trunk/system/generators/netwatch.php
- Timestamp:
- May 11, 2009, 9:59:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/netwatch.php
r213 r215 16 16 $I = explode('.', $Subnet['AddressRange']); 17 17 $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'); 19 19 while($Interface = $DbResult2->fetch_assoc()) 20 20 {
Note:
See TracChangeset
for help on using the changeset viewer.