summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelie <elie>2007-02-15 07:49:18 +0000
committerelie <elie>2007-02-15 07:49:18 +0000
commit8b08a1ac569b4800a80fe02fa251ff187e3ba515 (patch)
treee6dc6c1b42433ef977709817054c17c0a507b113
parent30aed817ca601567fc223f5a98ee19fa11cf1c5b (diff)
downloadpysnmp-8b08a1ac569b4800a80fe02fa251ff187e3ba515.tar.gz
little debug messaging clarification
-rw-r--r--pysnmp/proto/secmod/rfc3414/service.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pysnmp/proto/secmod/rfc3414/service.py b/pysnmp/proto/secmod/rfc3414/service.py
index 99eb23d..4ab53b3 100644
--- a/pysnmp/proto/secmod/rfc3414/service.py
+++ b/pysnmp/proto/secmod/rfc3414/service.py
@@ -484,7 +484,7 @@ class SnmpUSMSecurityModel(AbstractSecurityModel):
# 3.2.3
if not self.__timeline.has_key(securityEngineID):
- debug.logger & debug.flagSM and debug.logger('processIncomingMsg: known securityEngineID %s' % securityEngineID)
+ debug.logger & debug.flagSM and debug.logger('processIncomingMsg: unknown securityEngineID %s' % securityEngineID)
if securityEngineID:
# 3.2.3a XXX any other way to get auth engine in cache?
self.__timeline[securityEngineID] = (
@@ -499,12 +499,12 @@ class SnmpUSMSecurityModel(AbstractSecurityModel):
self.__timelineExpQueue[expireAt] = []
self.__timelineExpQueue[expireAt].append(securityEngineID)
- debug.logger & debug.flagSM and debug.logger('processIncomingMsg: store timeline')
+ debug.logger & debug.flagSM and debug.logger('processIncomingMsg: store timeline for securityEngineID %s' % (securityEngineID,))
else:
# 3.2.3b
usmStatsUnknownEngineIDs, = snmpEngine.msgAndPduDsp.mibInstrumController.mibBuilder.importSymbols('__SNMP-USER-BASED-SM-MIB', 'usmStatsUnknownEngineIDs')
usmStatsUnknownEngineIDs.syntax = usmStatsUnknownEngineIDs.syntax+1
- debug.logger & debug.flagSM and debug.logger('processIncomingMsg: unknown securityEngineID %s' % securityEngineID)
+ debug.logger & debug.flagSM and debug.logger('processIncomingMsg: null securityEngineID')
pysnmpUsmDiscoverable, = snmpEngine.msgAndPduDsp.mibInstrumController.mibBuilder.importSymbols('__PYSNMP-USM-MIB', 'pysnmpUsmDiscoverable')
if pysnmpUsmDiscoverable.syntax:
debug.logger & debug.flagSM and debug.logger('processIncomingMsg: request EngineID discovery')