- Timestamp:
- May 11, 2009, 9:59:42 PM (16 years ago)
- Location:
- trunk/system
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/dns.php
r213 r215 87 87 $Name = $Interface['DeviceName']; 88 88 if($Interface['Name'] != '') $Name .= '-'.$Interface['Name']; 89 $Name = strtolower($Name .'-ext');89 $Name = strtolower($Name); 90 90 $IP = explode('.', $Interface['LocalIP']); 91 91 fputs($File, $IP[3]."\tIN\tPTR\t".strtolower($Name).".zdechov.net.\n"); -
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 { -
trunk/system/netwatch_import.php
r214 r215 20 20 foreach($Output as $Row) 21 21 { 22 $Row = substr($Row, 6);22 $Row = substr($Row, 5); 23 23 $RowParts = explode(' ', $Row); 24 24 $Properties = array();
Note:
See TracChangeset
for help on using the changeset viewer.