Please sign in to comment.
fix invalid return values from snmpTargetAddrExtTable
The is_set_ok/set callbacks from the snmpTargetAddrExtTable handlers can return invalid column numbers in error responses. They store their data in snmpTargetAddrTable from column #11 onwards and correctly convert the column numbers before calling the generic table handler. When that returns an error, however, the errorneous column number remains at >10 and causes a genErr in the further SNMP processing. Fix that by looking for error responses from the generic table handler and correcting column numbers therein.
- Loading branch information...
Showing with 8 additions and 4 deletions.