Changeset 335 for trunk/system/generators/netwatch.php
- Timestamp:
- Dec 30, 2011, 9:19:03 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/netwatch.php
r317 r335 11 11 $Routerboard->Debug = true; 12 12 13 $DbResult3 = $Database->query('SELECT DISTINCT (`DHCP`) FROM `NetworkSubnet` '); // WHERE `Member` = 0');13 $DbResult3 = $Database->query('SELECT DISTINCT (`DHCP`) FROM `NetworkSubnet` WHERE `Configure` = 1'); // WHERE `Member` = 0'); 14 14 while($Router = $DbResult3->fetch_assoc()) 15 15 { … … 17 17 $Routerboard->HostName = $Router['DHCP']; 18 18 $Items = array(); 19 $DbResult = $Database->query('SELECT * FROM `NetworkSubnet` WHERE `DHCP`="'.$Router['DHCP'].'"');19 $DbResult = $Database->query('SELECT * FROM `NetworkSubnet` WHERE (`Configure` = 1) AND (`DHCP`="'.$Router['DHCP'].'")'); 20 20 while($Subnet = $DbResult->fetch_assoc()) 21 21 {
Note:
See TracChangeset
for help on using the changeset viewer.