openwisp-monitoring icon indicating copy to clipboard operation
openwisp-monitoring copied to clipboard

[bug] Code issue when writing traffic rx/tx

Open cbeaujoin-stellar opened this issue 7 months ago • 0 comments

https://github.com/openwisp/openwisp-monitoring/blob/fb2814b6dd8213ddb45a8497cf41dfb10eee04a2/openwisp_monitoring/device/writer.py#L85

It should be:

          if (
                ifstats.get('rx_bytes') is not None
                and ifstats.get('tx_bytes') is not None
            ):

cbeaujoin-stellar avatar Jul 16 '24 14:07 cbeaujoin-stellar