1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00

fix lorcon test case sending 11x as many packets as it's supposed to

git-svn-id: file:///home/svn/framework3/trunk@6232 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
kris 2009-02-17 15:44:32 +00:00
parent fd7399210d
commit f20c6fa08c

View File

@ -40,7 +40,7 @@ tx.write(packet, 500, 0)
ea = Time.now.to_f - sa
sb = Time.now.to_f
1.upto(500) { |i| tx.write(packet, 11, 0) }
500.times { tx.write(packet, 1, 0) }
eb = Time.now.to_f - sb
$stdout.puts "Sent 500 packets (C) in #{ea.to_s} seconds"