andrewfraley / arris_cable_modem_stats

Retrieves stats from Arris cable modems and sends to InfluxDB
50 stars 33 forks source link

fix upstream table header skip test for sb8200 #50

Closed cmdrchkn closed 1 year ago

cmdrchkn commented 1 year ago

The upstream table parsing in arris_stats_sb8200.py includes a check for skipping over the header row but it comes before setting channel_id from the row being tested, so it actually checks the last downstream row instead.

I swapped the lines around to match the downstream header check to resolve