Comparing version 1.1.8 to 1.1.9
@@ -333,3 +333,3 @@ | ||
if (varbinds[i].type && varbinds[i].value) { | ||
if (varbinds[i].type && varbinds[i].hasOwnProperty("value")) { | ||
var type = varbinds[i].type; | ||
@@ -336,0 +336,0 @@ var value = varbinds[i].value; |
{ | ||
"name": "net-snmp", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "JavaScript implementation of the Simple Network Management Protocol (SNMP)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -560,3 +560,3 @@ | ||
oid: "1.3.6.1.4.1.2000.2", | ||
type: snmp.Type.OctetString, | ||
type: snmp.ObjectType.OctetString, | ||
value: "Periodic hardware self-check" | ||
@@ -566,3 +566,3 @@ }, | ||
oid: "1.3.6.1.4.1.2000.3", | ||
type: snmp.Type.OctetString, | ||
type: snmp.ObjectType.OctetString, | ||
value: "hardware-ok" | ||
@@ -664,3 +664,3 @@ } | ||
Once the `doneCallback` function has been called the request is complete and | ||
the `requestCallback` function will no longer be called. | ||
the `feedCallback` function will no longer be called. | ||
@@ -924,3 +924,3 @@ If the `feedCallback` function returns a `true` value when called no more | ||
oid: "1.3.6.1.2.1.1.5.0", | ||
type: snmp.Type.OctetString, | ||
type: snmp.ObjectType.OctetString, | ||
value: "host1" | ||
@@ -959,3 +959,3 @@ } | ||
oid: "1.3.6.1.4.1.2000.2", | ||
type: snmp.Type.OctetString, | ||
type: snmp.ObjectType.OctetString, | ||
value: "Hardware health status changed" | ||
@@ -965,3 +965,3 @@ }, | ||
oid: "1.3.6.1.4.1.2000.3", | ||
type: snmp.Type.OctetString, | ||
type: snmp.ObjectType.OctetString, | ||
value: "status-error" | ||
@@ -1007,3 +1007,3 @@ } | ||
Once the `doneCallback` function has been called the request is complete and | ||
the `requestCallback` function will no longer be called. | ||
the `feedCallback` function will no longer be called. | ||
@@ -1102,2 +1102,9 @@ If the `feedCallback` function returns a `true` value when called no more | ||
## Version 1.1.9 - 03/11/2013 | ||
* Corrected a few instances of the parameter named `requestCallback` to some | ||
methods in the README.md file which should have been `feedCallback` | ||
* Null type is used for varbinds with a 0 value | ||
* Correct instances of snmp.Type to snmp.ObjectType in the README.md file | ||
# Roadmap | ||
@@ -1104,0 +1111,0 @@ |
506494
1135