summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelie <elie>2005-10-14 16:02:07 +0000
committerelie <elie>2005-10-14 16:02:07 +0000
commit1bfa25b49af7c204e2484d3233e048719efc34d9 (patch)
tree954021a7464b76454c9e0b1827d7daacee4f3cda
parent66ee3bbf2c56fd8e8ca3a31d8853d7dc91d27daf (diff)
downloadpysnmp-1bfa25b49af7c204e2484d3233e048719efc34d9.tar.gz
missing response PDU creation added
-rw-r--r--pysnmp/entity/rfc3413/ntfrcv.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pysnmp/entity/rfc3413/ntfrcv.py b/pysnmp/entity/rfc3413/ntfrcv.py
index cf6ef00..4ee74f5 100644
--- a/pysnmp/entity/rfc3413/ntfrcv.py
+++ b/pysnmp/entity/rfc3413/ntfrcv.py
@@ -48,6 +48,8 @@ class NotificationReceiver:
if rfc3411.confirmedClassPDUs.has_key(PDU.tagSet):
# 3.4.1 --> no-op
+ rspPDU = v2c.apiPDU.getResponse(PDU)
+
# 3.4.2
v2c.apiPDU.setErrorStatus(rspPDU, errorStatus)
v2c.apiPDU.setErrorIndex(rspPDU, errorIndex)