We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toString is missing () at several code places resulting in off behavior.
i.e.
case snmp.ObjectType.OctetString: { switch (pFormat) { case F_TEXT /* 0 */: case F_AUTO /* 99 */: default: retval.val = pVarbind.value.toString(); retval.format = F_TEXT; break; case F_NUMERIC /* 1 */: { const valint = parseInt(pVarbind.value.toString, 10); retval.val = valint; if (isNaN (valint)) retval.qual=0x01; // general error break; } case F_BOOLEAN /* 2 */: { const valint = parseInt(pVarbind.value.toString, 10); retval.val = valint !== 0; if (isNaN (valint)) retval.qual=0x01; // general error break;
The text was updated successfully, but these errors were encountered:
chore: release v2.4.8
59daa4b
* (McM1957) fixed: UDP ports got lost during error handling (#282) * (McM1957) fixed: Incorrect toString() syntax caused several issues, i.e. missing error output (#283) * (McM1957) Dependencies have been updated
fixed with 2.4.8
Sorry, something went wrong.
mcm1957
No branches or pull requests
toString is missing () at several code places resulting in off behavior.
i.e.
The text was updated successfully, but these errors were encountered: