Some SNMP implementations return 16-byte binaries for Counter64 values instead of the standard 8 bytes. Updated decoder to: - Handle 8-byte standard Counter64 - Handle 16-byte values by reading last 8 bytes - Handle any size > 8 bytes by reading last 8 bytes - Add debug/warning logging for non-standard sizes This fixes DBConnection.EncodeError when polling interface statistics from devices that return non-standard Counter64 encodings. |
||
|---|---|---|
| .. | ||
| towerops | ||
| towerops_web | ||
| towerops.ex | ||
| towerops_web.ex | ||