diff options
author | elie <elie> | 2015-11-12 20:30:32 +0000 |
---|---|---|
committer | elie <elie> | 2015-11-12 20:30:32 +0000 |
commit | b3b58faee326a3edf5be250ea32ed738cd5e3ab3 (patch) | |
tree | 490cf4d1d17841eed75e46295ee124fe031dc886 /examples/v1arch | |
parent | 60f3c12c89e7e5ae0295ef26d4a258c3558884bd (diff) | |
download | pysnmp-git-b3b58faee326a3edf5be250ea32ed738cd5e3ab3.tar.gz |
missing import
Diffstat (limited to 'examples/v1arch')
-rw-r--r-- | examples/v1arch/asyncore/agent/ntforg/send-inform-over-ipv4-and-ipv6.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/v1arch/asyncore/agent/ntforg/send-inform-over-ipv4-and-ipv6.py b/examples/v1arch/asyncore/agent/ntforg/send-inform-over-ipv4-and-ipv6.py index 4fd7aeaf..eba3779d 100644 --- a/examples/v1arch/asyncore/agent/ntforg/send-inform-over-ipv4-and-ipv6.py +++ b/examples/v1arch/asyncore/agent/ntforg/send-inform-over-ipv4-and-ipv6.py @@ -17,6 +17,7 @@ The following Net-SNMP command will produce similar SNMP notification: | $ snmpinform -v2c -c public udp6:[::1] 0 1.3.6.1.6.3.1.1.5.1 """# +from time import time from pysnmp.carrier.asynsock.dispatch import AsynsockDispatcher from pysnmp.carrier.asynsock.dgram import udp, udp6 from pyasn1.codec.ber import encoder |