diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/v3arch/asyncore/agent/ntforg/send-custom-pdu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/v3arch/asyncore/agent/ntforg/send-custom-pdu.py b/examples/v3arch/asyncore/agent/ntforg/send-custom-pdu.py index 115022c2..8dd12757 100644 --- a/examples/v3arch/asyncore/agent/ntforg/send-custom-pdu.py +++ b/examples/v3arch/asyncore/agent/ntforg/send-custom-pdu.py @@ -69,7 +69,7 @@ def cbFun(snmpEngine, sendRequestHandle, errorIndication, ) # Build and submit notification message to dispatcher -sendRequestHandle = ntfOrg.sendPdu( +ntfOrg.sendPdu( snmpEngine, # Notification targets 'my-nms', # target address @@ -78,7 +78,7 @@ sendRequestHandle = ntfOrg.sendPdu( cbFun ) -print('Notification %s is scheduled to be sent' % sendRequestHandle) +print('Notification is scheduled to be sent') # Run I/O dispatcher which would send pending message and process response snmpEngine.transportDispatcher.runDispatcher() |