summaryrefslogtreecommitdiff
path: root/examples/v1arch
diff options
context:
space:
mode:
authorelie <elie>2009-12-03 11:47:45 +0000
committerelie <elie>2009-12-03 11:47:45 +0000
commita515422dd59089a0e5d828cf5fc2b6ee8b92eb1f (patch)
treebf9568608f95473ab379b17078c7e5441706262a /examples/v1arch
parent7aa360ac473b23b2e9ce92c382026841956491ca (diff)
downloadpysnmp-git-a515422dd59089a0e5d828cf5fc2b6ee8b92eb1f.tar.gz
* missing SNMPTrap PDU API implemented at proto.api.v2c, RFC2576 proxy
code reworked. * fix to sysUpTime OID at SNMPv2 TRAP PDU.
Diffstat (limited to 'examples/v1arch')
-rw-r--r--examples/v1arch/asyncore/agent/ntforg/send-trap-over-ipv4-and-ipv6.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/v1arch/asyncore/agent/ntforg/send-trap-over-ipv4-and-ipv6.py b/examples/v1arch/asyncore/agent/ntforg/send-trap-over-ipv4-and-ipv6.py
index 06797a4c..14cf9aac 100644
--- a/examples/v1arch/asyncore/agent/ntforg/send-trap-over-ipv4-and-ipv6.py
+++ b/examples/v1arch/asyncore/agent/ntforg/send-trap-over-ipv4-and-ipv6.py
@@ -5,7 +5,7 @@ from pyasn1.codec.ber import encoder
from pysnmp.proto import api
# Protocol version to use
-verID = api.protoVersion1
+verID = api.protoVersion2c
pMod = api.protoModules[verID]
# Build PDU