markabrahams / node-net-snmp

JavaScript implementation of the Simple Network Management Protocol (SNMP)
209 stars 97 forks source link

Fixed wrong value validation for IP Address type #212

Closed meydanb closed 2 years ago

meydanb commented 2 years ago

Fixed wrong value check in the castSetValue function, that caused an exception to be raised when sending a set request for a IPAddress variable.

Fixes #211