net-snmp 3.8.2 → 3.8.3

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
@@ -3223,6 +3223,10 @@ Example programs are included under the module's `example` directory.
3223
3223
 
3224
3224
  * Fix PDU error status field writing
3225
3225
 
3226
+ ## Version 3.8.3 - 12/09/2022
3227
+
3228
+ * Fix incorrect user level assignment
3229
+
3226
3230
  # License
3227
3231
 
3228
3232
  Copyright (c) 2020 Mark Abrahams <mark@abrahams.co.nz>
package/index.js CHANGED
@@ -1566,7 +1566,7 @@ Message.prototype.createCommunityResponseFromRequest = function (responsePdu) {
1566
1566
  Message.prototype.createV3ResponseFromRequest = function (responsePdu) {
1567
1567
  var responseUser = {
1568
1568
  name: this.user.name,
1569
- level: this.user.name,
1569
+ level: this.user.level,
1570
1570
  authProtocol: this.user.authProtocol,
1571
1571
  authKey: this.user.authKey,
1572
1572
  privProtocol: this.user.privProtocol,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "net-snmp",
3
- "version": "3.8.2",
3
+ "version": "3.8.3",
4
4
  "description": "JavaScript implementation of the Simple Network Management Protocol (SNMP)",
5
5
  "main": "index.js",
6
6
  "directories": {