Ignore:
Timestamp:
Feb 25, 2022, 9:30:55 AM (3 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigAirOS/Generators/Signal.php

    r911 r921  
    88  {
    99    $Time = time();
     10    $NetworkMac = new NetworkMac($this->System);
    1011
    1112    // Load netwatch status from all DHCP routers
     
    3839          $RateRx = $Properties['rx'];
    3940          $RateTx = $Properties['tx'];
    40           $this->Database->insert('NetworkSignal', array('MAC' => $Properties['mac'],
     41          $MacRef = $NetworkMac->GetIndex($Properties['mac']);
     42          $this->Database->insert('NetworkSignal', array('MAC' => $MacRef,
    4143            'Value' => $Strength, 'Remote' => $RemoteSignal, 'RateRx' => $RateRx, 'RateTx' => $RateTx,
    4244            'Time' => TimeToMysqlDateTime($Time), 'Interface' => $Interface, 'Device' => $Device['Id']));
Note: See TracChangeset for help on using the changeset viewer.