lib/net/snmp.rb in net-ldap-0.0.5 vs lib/net/snmp.rb in net-ldap-0.1.0
- old
+ new
@@ -24,17 +24,15 @@
#
#---------------------------------------------------------------------------
#
#
-require 'net/ber'
-
-
module Net
class SNMP
+ VERSION = '0.1.0'
- AsnSyntax = BER.compile_syntax({
+ AsnSyntax = Net::BER.compile_syntax({
:application => {
:primitive => {
1 => :integer, # Counter32, (RFC2578 sec 2)
2 => :integer, # Gauge32 or Unsigned32, (RFC2578 sec 2)
3 => :integer # TimeTicks32, (RFC2578 sec 2)