lib/snmp: recalculate sizes of fields when returning error
When snmpset is performed on not existing or read only OID, then response
packet does not contain to-be-set value. Due to that, returning packet is
shorter. It is necessary to recalculate sizes of the fields inside the response
packet.
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
Please register or sign in to comment