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