diff options
Diffstat (limited to 'examples/v3arch/asyncore/agent/ntforg/v2c-inform.py')
-rw-r--r-- | examples/v3arch/asyncore/agent/ntforg/v2c-inform.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/v3arch/asyncore/agent/ntforg/v2c-inform.py b/examples/v3arch/asyncore/agent/ntforg/v2c-inform.py index 5d4465d3..240f1426 100644 --- a/examples/v3arch/asyncore/agent/ntforg/v2c-inform.py +++ b/examples/v3arch/asyncore/agent/ntforg/v2c-inform.py @@ -38,12 +38,12 @@ config.addTargetParams(snmpEngine, 'my-creds', 'my-area', 'noAuthNoPriv', 1) # a target name config.addTransport( snmpEngine, - udp.domainName, + udp.DOMAIN_NAME, udp.UdpSocketTransport().openClientMode() ) config.addTargetAddr( snmpEngine, 'my-nms', - udp.domainName, ('104.236.166.95', 162), + udp.DOMAIN_NAME, ('104.236.166.95', 162), 'my-creds', tagList='all-my-managers' ) |