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

Fixed large OID sub-identifiers causes the server to fail #15

Closed janrpn closed 1 year ago

janrpn commented 1 year ago

Fixed oidToByteString to make the function work with sub-identifiers of arbitrary size.