summaryrefslogtreecommitdiff
path: root/examples/hlapi
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hlapi')
-rw-r--r--examples/hlapi/asyncore/agent/ntforg/multiple-informs-at-once.py2
-rw-r--r--examples/hlapi/asyncore/agent/ntforg/running-multiple-snmp-engines-at-once.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/hlapi/asyncore/agent/ntforg/multiple-informs-at-once.py b/examples/hlapi/asyncore/agent/ntforg/multiple-informs-at-once.py
index 095149ad..bc679d64 100644
--- a/examples/hlapi/asyncore/agent/ntforg/multiple-informs-at-once.py
+++ b/examples/hlapi/asyncore/agent/ntforg/multiple-informs-at-once.py
@@ -27,7 +27,7 @@ targets = (
ntforg.UdpTransportTarget(('localhost', 162)) )
)
-def cbFun(sendRequestHandle, errorIndication,
+def cbFun(snmpEngine, sendRequestHandle, errorIndication,
errorStatus, errorIndex, varBinds, cbctx):
if errorIndication:
print('Notification %s not sent: %s' % (sendRequestHandle, errorIndication))
diff --git a/examples/hlapi/asyncore/agent/ntforg/running-multiple-snmp-engines-at-once.py b/examples/hlapi/asyncore/agent/ntforg/running-multiple-snmp-engines-at-once.py
index 53ddeddb..6acaf281 100644
--- a/examples/hlapi/asyncore/agent/ntforg/running-multiple-snmp-engines-at-once.py
+++ b/examples/hlapi/asyncore/agent/ntforg/running-multiple-snmp-engines-at-once.py
@@ -41,7 +41,7 @@ targets = (
ntforg.UdpTransportTarget(('localhost', 162)) )
)
-def cbFun(sendRequestHandle, errorIndication,
+def cbFun(snmpEngine, sendRequestHandle, errorIndication,
errorStatus, errorIndex, varBinds, cbCtx):
snmpEngine = cbCtx
if errorIndication: