net-snmp 3.25.1 → 3.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +4 -0
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -3701,6 +3701,10 @@ Example programs are included under the module's `example` directory.
3701
3701
 
3702
3702
  * Fix SNMPv3 agent unknown user crash
3703
3703
 
3704
+ # Version 3.25.2 - 11/09/2025
3705
+
3706
+ * Fix AgentX Counter64 writing
3707
+
3704
3708
  # License
3705
3709
 
3706
3710
  Copyright (c) 2020 Mark Abrahams <mark@abrahams.co.nz>
package/index.js CHANGED
@@ -6087,7 +6087,7 @@ AgentXPdu.writeVarBind = function (buffer, varbind) {
6087
6087
  buffer.writeOctetString (buffer, Buffer.from (bytes));
6088
6088
  break;
6089
6089
  case ObjectType.Counter64:
6090
- buffer.writeUint64 (varbind.value);
6090
+ buffer.writeBigUInt64BE (BigInt(varbind.value));
6091
6091
  break;
6092
6092
  case ObjectType.Null:
6093
6093
  case ObjectType.EndOfMibView:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "net-snmp",
3
- "version": "3.25.1",
3
+ "version": "3.25.2",
4
4
  "description": "JavaScript implementation of the Simple Network Management Protocol (SNMP)",
5
5
  "author": "Mark Abrahams <mark@abrahams.co.nz>",
6
6
  "license": "MIT",