summaryrefslogtreecommitdiff
path: root/pysnmp/entity/rfc3413/cmdgen.py
diff options
context:
space:
mode:
authorelie <elie>2007-11-23 10:33:58 +0000
committerelie <elie>2007-11-23 10:33:58 +0000
commit12c3d4ede7d5b7a0872722d0caa7cf2f407fe036 (patch)
treebdf9c1b218182ba5161e44a0054db9adadc10a60 /pysnmp/entity/rfc3413/cmdgen.py
parentcd3bec575efb610bf183f5f890238b3d8fd728fc (diff)
downloadpysnmp-12c3d4ede7d5b7a0872722d0caa7cf2f407fe036.tar.gz
fix to response timeout roundup code
Diffstat (limited to 'pysnmp/entity/rfc3413/cmdgen.py')
-rw-r--r--pysnmp/entity/rfc3413/cmdgen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/entity/rfc3413/cmdgen.py b/pysnmp/entity/rfc3413/cmdgen.py
index e77992b..7cdb35e 100644
--- a/pysnmp/entity/rfc3413/cmdgen.py
+++ b/pysnmp/entity/rfc3413/cmdgen.py
@@ -161,7 +161,7 @@ class CommandGeneratorBase:
contextName,
pduVersion,
reqPDU,
- (processResponsePdu, timeout/100 + time.time(), cbCtx)
+ (processResponsePdu, float(timeout)/100 + time.time(), cbCtx)
)
snmpEngine.transportDispatcher.jobStarted(id(self))