Changeset 615 for trunk/Modules
- Timestamp:
- Dec 20, 2013, 11:57:02 PM (11 years ago)
- Location:
- trunk/Modules
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r605 r615 280 280 'Items' => array( 281 281 'SSID' => array('Type' => 'String', 'Caption' => 'SSID', 'Default' => ''), 282 'MAC' => array('Type' => 'MacAddress', 'Caption' => 'MAC', 'Default' => ''), 282 283 'NetworkInterface' => array('Type' => 'TNetworkInterface', 'Caption' => 'Rozhraní', 'Default' => ''), 283 284 'TxPower' => array('Type' => 'Integer', 'Caption' => 'Výstupní výkon', 'Default' => '18', 'Suffix' => 'dBm'), 284 285 'CableAttenuation' => array('Type' => 'Integer', 'Caption' => 'Útlum vedení', 'Default' => '0', 'Suffix' => 'dB'), 286 'Antenna' => array('Type' => 'TProduct', 'Caption' => 'Anténa', 'Default' => '', 'Null' => true), 285 287 'AntenaGain' => array('Type' => 'Integer', 'Caption' => 'Zisk antény', 'Default' => '', 'Suffix' => 'dBi'), 288 'AntennaPolarity' => array('Type' => 'TAntennaPolarity', 'Caption' => 'Polarizace antény', 'Default' => '0'), 286 289 'Frequency' => array('Type' => 'Float', 'Caption' => 'Frekvence', 'Default' => '5600', 'Suffix' => 'MHz'), 287 290 'ChannelWidth' => array('Type' => 'Integer', 'Caption' => 'Šírka kanálu', 'Default' => '20', 'Suffix' => 'MHz'), … … 292 295 'UnderLimit' => array('Type' => 'Boolean', 'Caption' => 'V limitu', 'Default' => '', 'Suffix' => '', 293 296 'ReadOnly' => true, 'SQL' => '((`TxPower` - `CableAttenuation` + `AntenaGain`) <= (CASE WHEN `Frequency` >= 5450 AND `Frequency` <= 5725 THEN 27 ELSE 20 END))'), 297 'Description' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => ''), 294 298 ), 295 299 )); -
trunk/Modules/NetworkConfigRouterOS/Generators/FirewallNAT.php
r548 r615 45 45 $DbResult2 = $System->Database->query('SELECT `NetworkInterface`.*, `NetworkDevice`.`Name` AS `DeviceName`, `NetworkDevice`.`InboundNATPriority` FROM `NetworkInterface`'. 46 46 ' LEFT JOIN `NetworkDevice` ON `NetworkDevice`.`Id` = `NetworkInterface`.`Device` WHERE (`NetworkInterface`.`ExternalIP` <> "")'. 47 ' AND (`NetworkInterface`.`LocalIP` <> "")'. 47 48 ' AND (`NetworkDevice`.`Member` = '.$Member['Id'].') AND (`NetworkInterface`.`LocalIP` != `NetworkInterface`.`ExternalIP`) ORDER BY `id` DESC'); 48 49 while($Interface = $DbResult2->fetch_assoc()) … … 101 102 102 103 // Masquerade hosts without public ip 103 $Items[] = array('chain' => 'inet-out', 'action' => 'src-nat', 'to-addresses' => '77.92.221.1 06', 'comment' => 'Default_NAT');104 $Items[] = array('chain' => 'inet-out', 'action' => 'src-nat', 'to-addresses' => '77.92.221.188', 'comment' => 'Default_NAT'); 104 105 105 106 // Redirect DNS port -
trunk/Modules/SpeedTest/SpeedTest.php
r586 r615 28 28 { 29 29 $this->System->Pages['speedtest'] = 'PageSpeedTest'; 30 31 30 } 32 31 }
Note:
See TracChangeset
for help on using the changeset viewer.