diff options
author | Ilya Etingof <etingof@gmail.com> | 2019-02-25 09:32:56 +0100 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2019-02-25 09:32:56 +0100 |
commit | 0780b2474eefbc3cfb1f2857657dfdd14e1def90 (patch) | |
tree | b322e909af7b1e590ade5b85012fec26ec01dbd4 /examples | |
parent | 9e484d801bf395e6ecd796f42b3eec9e2272f8fb (diff) | |
download | pysnmp-git-0780b2474eefbc3cfb1f2857657dfdd14e1def90.tar.gz |
Fix PDU consistency check in notification originator
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hlapi/v3arch/asyncore/sync/agent/ntforg/custom-v1-trap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hlapi/v3arch/asyncore/sync/agent/ntforg/custom-v1-trap.py b/examples/hlapi/v3arch/asyncore/sync/agent/ntforg/custom-v1-trap.py index 017fc8b8..90f14519 100644 --- a/examples/hlapi/v3arch/asyncore/sync/agent/ntforg/custom-v1-trap.py +++ b/examples/hlapi/v3arch/asyncore/sync/agent/ntforg/custom-v1-trap.py @@ -31,7 +31,7 @@ iterator = sendNotification( ContextData(), 'trap', NotificationType( - ObjectIdentity('1.3.6.1.4.1.20408.4.1.1.2.0.432'), + ObjectIdentity('1.3.6.1.4.1.20408.4.1.1.2.0.432') ).addVarBinds( ('1.3.6.1.2.1.1.3.0', 12345), ('1.3.6.1.6.3.18.1.3.0', '127.0.0.1'), |