Changeset 950


Ignore:
Timestamp:
May 20, 2023, 9:12:46 PM (12 months ago)
Author:
chronos
Message:
  • Fixed: Netwatch import was not done from subnets assigned to members.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigRouterOS/Generators/NetwatchImport.php

    r887 r950  
    1515    // Load netwatch status from all DHCP routers
    1616    $DbResult3 = $this->Database->query('SELECT `DHCP` FROM `NetworkSubnet` '.
    17       'WHERE (`Configure` = 1) AND (`Member` IS NULL) GROUP BY `DHCP`');
     17      'WHERE (`Configure` = 1) AND (`DHCP` != "") GROUP BY `DHCP`');
    1818    while ($Subnet = $DbResult3->fetch_assoc())
    1919    {
Note: See TracChangeset for help on using the changeset viewer.