We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d9206d commit f6c87c0Copy full SHA for f6c87c0
lib/net/snmp.rb
@@ -82,7 +82,7 @@ def to_ber
82
# SNMP 32-bit timer-ticks.
83
# Defined in RFC1155 (Structure of Mangement Information), section 6.
84
# A 32-bit counter is an ASN.1 application [3] implicit unsigned integer.
85
- class TimerTicks32
+ class TimeTicks32
86
def initialize value
87
@value = value
88
end
tests/testsnmp.rb
@@ -120,7 +120,7 @@ def test_snmp_integers
120
assert_equal( "A\001d", c32.to_ber )
121
g32 = Net::SNMP::Gauge32.new(100)
122
assert_equal( "B\001d", g32.to_ber )
123
- t32 = Net::SNMP::TimerTicks32.new(100)
+ t32 = Net::SNMP::TimeTicks32.new(100)
124
assert_equal( "C\001d", t32.to_ber )
125
126
0 commit comments