net-snmp 3.6.2 → 3.6.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
@@ -3181,6 +3181,10 @@ Example programs are included under the module's `example` directory.
3181
3181
 
3182
3182
  * Add option for receiver to receive client authentication identity
3183
3183
 
3184
+ ## Version 3.6.3 - 26/04/2022
3185
+
3186
+ * Fix logic for v3 time syncronization requirement
3187
+
3184
3188
  # License
3185
3189
 
3186
3190
  Copyright (c) 2020 Mark Abrahams <mark@abrahams.co.nz>
package/index.js CHANGED
@@ -2211,7 +2211,7 @@ Session.prototype.onMsg = function (buffer) {
2211
2211
  return;
2212
2212
  }
2213
2213
  req.originalPdu.contextName = this.context;
2214
- var timeSyncNeeded = ! message.msgSecurityParameters.msgAuthoritativeEngineBoots || ! message.msgSecurityParameters.msgAuthoritativeEngineTime;
2214
+ var timeSyncNeeded = ! message.msgSecurityParameters.msgAuthoritativeEngineBoots && ! message.msgSecurityParameters.msgAuthoritativeEngineTime;
2215
2215
  this.sendV3Req (req.originalPdu, req.feedCb, req.responseCb, req.options, req.port, timeSyncNeeded);
2216
2216
  }
2217
2217
  } else if ( this.proxy ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "net-snmp",
3
- "version": "3.6.2",
3
+ "version": "3.6.3",
4
4
  "description": "JavaScript implementation of the Simple Network Management Protocol (SNMP)",
5
5
  "main": "index.js",
6
6
  "directories": {