calmh / node-snmp-native

Native Javascript SNMP library for Node.js
MIT License
252 stars 66 forks source link

Parse OID's on SET requests type 6 #31

Open juandiago opened 9 years ago

juandiago commented 9 years ago

Let me first say great work and thanks for this module!!...it's been really useful for me.

Recently needed to send some OID value type(6) on a SET request and found that it didin't worked. I figured then that the OID string on the VALUE parameter was not being parsed correctly, so manually created the array myself...everything worked ok!!

Looking at the module found that the function 'parseSingleOid' does the same thing i did manually, so it would be great to run the SET requests VALUE with type 6 through this 'parseSingleOid'