Closed meydanb closed 1 year ago
Hi @meydanb - thanks for that! I've merged #212 and published this in version 3.8.4 of the npm.
Thank you @markabrahams, this is a such useful library. keep up the good work!
Great to hear that you're finding it useful!
When the agent receives a set request for a variable of type IpAddress there is a wrong check that causes the agent to throw an "Invalid IP Address" exception, even though a valid ip address was supplied.
The issue originates in the castSetValue function. it seems that there is a check on the length of the value that was received (as a string), rather than checking the number of actual octets: