fixed mispelling: TimerTicks is now TimeTicks.

master
blackhedd 2006-12-21 15:09:29 +00:00
parent 0d9206d602
commit f6c87c02fc
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ module Net
# SNMP 32-bit timer-ticks.
# Defined in RFC1155 (Structure of Mangement Information), section 6.
# A 32-bit counter is an ASN.1 application [3] implicit unsigned integer.
class TimerTicks32
class TimeTicks32
def initialize value
@value = value
end

View File

@ -120,7 +120,7 @@ class TestSnmp < Test::Unit::TestCase
assert_equal( "A\001d", c32.to_ber )
g32 = Net::SNMP::Gauge32.new(100)
assert_equal( "B\001d", g32.to_ber )
t32 = Net::SNMP::TimerTicks32.new(100)
t32 = Net::SNMP::TimeTicks32.new(100)
assert_equal( "C\001d", t32.to_ber )
end