Fixes #630 by correct the constant typo

git-svn-id: file:///home/svn/framework3/trunk@7726 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-12-06 14:51:15 +00:00
parent 8df719e7a8
commit 1f5a0be9ca
1 changed files with 8 additions and 7 deletions

View File

@ -473,7 +473,7 @@ class Packet < GroupTlv
# If it's a request, generate a random request identifier # If it's a request, generate a random request identifier
if ((type == PACKET_TYPE_REQUEST) || if ((type == PACKET_TYPE_REQUEST) ||
(type == PACKET_TYPE_PLAINTEXT_REQUEST)) (type == PACKET_TYPE_PLAIN_REQUEST))
rid = '' rid = ''
32.times { |val| rid << rand(10).to_s } 32.times { |val| rid << rand(10).to_s }
@ -554,3 +554,4 @@ class Packet < GroupTlv
end end
end; end; end end; end; end