Fixes #630 by correct the constant typo
git-svn-id: file:///home/svn/framework3/trunk@7726 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
8df719e7a8
commit
1f5a0be9ca
|
@ -473,7 +473,7 @@ class Packet < GroupTlv
|
|||
|
||||
# If it's a request, generate a random request identifier
|
||||
if ((type == PACKET_TYPE_REQUEST) ||
|
||||
(type == PACKET_TYPE_PLAINTEXT_REQUEST))
|
||||
(type == PACKET_TYPE_PLAIN_REQUEST))
|
||||
rid = ''
|
||||
|
||||
32.times { |val| rid << rand(10).to_s }
|
||||
|
@ -554,3 +554,4 @@ class Packet < GroupTlv
|
|||
end
|
||||
|
||||
end; end; end
|
||||
|
||||
|
|
Loading…
Reference in New Issue