slayercat / GoSNMPServer

GoSNMPServer is an SNMP server library fully written in Go. It provides Server Get, GetNext, GetBulk, Walk, BulkWalk, Set and Traps. It supports IPv4 and IPv6, using SNMPv2c or SNMPv3.
BSD 2-Clause "Simplified" License
95 stars 50 forks source link

Getbulk not working if requesting multipe OIDs #7

Closed thorsager closed 2 years ago

thorsager commented 2 years ago

It seams that the current implementation of getbulk handle multiple OIDs, and the non-repeaters all to well. Only the last OID is "processed" if multiple is present.

thorsager commented 2 years ago

I have created pull request #8 that implements working getBulk

slayercat commented 2 years ago

thanks~