diff options
Diffstat (limited to 'examples/v3arch/asyncore/agent/ntforg/send-packet-from-specific-address.py')
-rw-r--r-- | examples/v3arch/asyncore/agent/ntforg/send-packet-from-specific-address.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/v3arch/asyncore/agent/ntforg/send-packet-from-specific-address.py b/examples/v3arch/asyncore/agent/ntforg/send-packet-from-specific-address.py index 2577aaed..68ce95c5 100644 --- a/examples/v3arch/asyncore/agent/ntforg/send-packet-from-specific-address.py +++ b/examples/v3arch/asyncore/agent/ntforg/send-packet-from-specific-address.py @@ -57,7 +57,7 @@ config.addNotificationTarget( # Allow NOTIFY access to Agent's MIB by this SNMP model (1), securityLevel # and SecurityName config.addContext(snmpEngine, '') -config.addVacmUser(snmpEngine, 1, 'my-area', 'noAuthNoPriv', (), (), (1,3,6)) +config.addVacmUser(snmpEngine, 1, 'my-area', 'noAuthNoPriv', (), (), (1, 3, 6)) # *** SNMP engine configuration is complete by this line *** @@ -68,11 +68,11 @@ ntfOrg = ntforg.NotificationOriginator() ntfOrg.sendVarBinds( snmpEngine, 'my-notification', # notification targets - None, '', # contextEngineId, contextName + None, '', # contextEngineId, contextName # var-binds [ # SNMPv2-SMI::snmpTrapOID.0 = SNMPv2-MIB::coldStart - ((1,3,6,1,6,3,1,1,4,1,0), v2c.ObjectIdentifier((1,3,6,1,6,3,1,1,5,1))) + ((1, 3, 6, 1, 6, 3, 1, 1, 4, 1, 0), v2c.ObjectIdentifier((1, 3, 6, 1, 6, 3, 1, 1, 5, 1))) ] ) |