-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle single-OID queries in snmpGet method
For "SNMPv1 NoSuchName", use the regular snmpGet method with a block size of 1. Modified handling of NoSuchName error when blockSize == 1. Keep track of the number of OIDs results have been returned for, the final length of msg.varbinds is less than oids.length if some OIDs can't be found. Call processVarbinds when the number of results matches the number of OIDs, regardless of whether this particular (final) query yielded data. Removed snmpGetIndividualOids method.
- Loading branch information
Sverre Johan Tøvik
committed
Mar 17, 2022
1 parent
028a46f
commit a610e30
Showing
1 changed file
with
25 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters