Skip to content

fix snmp sfp dom accuracy

Fabian Mauchle requested to merge fabian-wrsnmp-dom into master

SFP DOM values in SNMP agent shows inaccurate values. I.e. the LSB for RX/TX value is always set to 0, so any value below 0.0256mW will show as 0 in SNMP.

Fix: use proper 16bit datatypes in sfp_dom structure so ntohs() does proper conversion.

Merge request reports