summaryrefslogtreecommitdiff
path: root/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py
diff options
context:
space:
mode:
authorelie <elie>2005-10-26 21:30:03 +0000
committerelie <elie>2005-10-26 21:30:03 +0000
commit627cab2ce39c4266a570f2b17f3076c6d3d1a96c (patch)
tree01f46767ff10c065f120bfd98a57e29b6c0f6f01 /examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py
parent002972241ed483b2bdc0697c059f12d1e7ef59c2 (diff)
downloadpysnmp-git-627cab2ce39c4266a570f2b17f3076c6d3d1a96c.tar.gz
format output
Diffstat (limited to 'examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py')
-rw-r--r--examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py b/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py
index a8c4c643..f968ed3b 100644
--- a/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py
+++ b/examples/v1arch/asyncore/manager/ntfrcv/listen-on-ipv4-and-ipv6-interfaces.py
@@ -41,7 +41,7 @@ def cbFun(transportDispatcher, transportDomain, transportAddress, wholeMsg):
varBinds = pMod.apiPDU.getVarBindList(reqPDU)
print 'Var-binds:'
for oid, val in varBinds:
- print oid.prettyPrint(), val.prettyPrint()
+ print '%s = %s' % (oid.prettyPrint(), val.prettyPrint())
return wholeMsg
transportDispatcher = AsynsockDispatcher()