Need another red bull...

git-svn-id: file:///home/svn/framework3/trunk@5604 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-07-26 18:23:54 +00:00
parent 09c1b1d0fc
commit bd7e616fe3
1 changed files with 3 additions and 3 deletions

View File

@ -96,9 +96,9 @@ module Rex::Socket::Ip
Rex::Compat.is_bsdi or Rex::Compat.is_bsdi or
Rex::Compat.is_macosx Rex::Compat.is_macosx
) )
dgram=dgram.dup gram=gram.dup
dgram[2,2]=dgram[2,2].unpack("n").pack("s") gram[2,2]=gram[2,2].unpack("n").pack("s")
dgram[6,2]=dgram[6,2].unpack("n").pack("s") gram[6,2]=gram[6,2].unpack("n").pack("s")
end end
send(gram, flags, dest) send(gram, flags, dest)