fixed bug
This commit is contained in:
parent
11fb69b0b1
commit
2ef2176f14
1 changed files with 2 additions and 3 deletions
|
@ -147,9 +147,8 @@ module Net
|
|||
private :parse
|
||||
|
||||
def parse_ber_object ber_object
|
||||
version= ber_object[0].to_i
|
||||
|
||||
community= ber_object[1].to_s
|
||||
send :version=, ber_object[0].to_i
|
||||
send :community=, ber_object[1].to_s
|
||||
|
||||
data = ber_object[2]
|
||||
case (app_tag = data.ber_identifier & 31)
|
||||
|
|
Loading…
Reference in a new issue