Ignore:
Timestamp:
Mar 16, 2016, 10:20:36 PM (9 years ago)
Author:
chronos
Message:
  • Fixed: Checking network port states.
  • Modified: Check only state of enabled interfaces.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Network/Network.php

    r818 r819  
    712712      'LEFT JOIN `NetworkDevice` ON `NetworkDevice`.`Id` = `NetworkInterface`.`Device` '.
    713713      $Condition.' AND (`NetworkDevice`.`PermanentOnline`=1) AND (`NetworkDevice`.`Used`=1) AND '.
    714       '(`NetworkInterface`.`LocalIP` != "") '.
     714      '(`NetworkInterface`.`LocalIP` != "") AND (`NetworkInterface`.`Enabled` == 1)'.
    715715      'ORDER BY `Name` ASC');
    716716    if($DbResult3->num_rows > 0)
Note: See TracChangeset for help on using the changeset viewer.