diff options
author | elie <elie> | 2015-12-12 15:48:47 +0000 |
---|---|---|
committer | elie <elie> | 2015-12-12 15:48:47 +0000 |
commit | 1244961c3fb0c76289bc94c6b66da7474838c556 (patch) | |
tree | 59c463ef9cb75b7c1a3a4c3681b4c86c2fefd19f /pysnmp/entity/rfc3413 | |
parent | 9815736980981682ec7c4d510cf0bd8e4473a3fe (diff) | |
download | pysnmp-git-1244961c3fb0c76289bc94c6b66da7474838c556.tar.gz |
all SNMP counters now incremented via '+= 1' rather than 'x = x + 1'
Diffstat (limited to 'pysnmp/entity/rfc3413')
-rw-r--r-- | pysnmp/entity/rfc3413/ntfrcv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/entity/rfc3413/ntfrcv.py b/pysnmp/entity/rfc3413/ntfrcv.py index 1a27222c..da3734e5 100644 --- a/pysnmp/entity/rfc3413/ntfrcv.py +++ b/pysnmp/entity/rfc3413/ntfrcv.py @@ -78,7 +78,7 @@ class NotificationReceiver: except error.StatusInformation: debug.logger & debug.flagApp and debug.logger('processPdu: stateReference %s, statusInformation %s' % (stateReference, sys.exc_info()[1])) snmpSilentDrops, = snmpEngine.msgAndPduDsp.mibInstrumController.mibBuilder.importSymbols('__SNMPv2-MIB', 'snmpSilentDrops') - snmpSilentDrops.syntax = snmpSilentDrops.syntax + 1 + snmpSilentDrops.syntax += 1 elif PDU.tagSet in rfc3411.unconfirmedClassPDUs: pass |