correct a bug on capture module when pcapfile are used

git-svn-id: file:///home/svn/framework3/trunk@13269 4d416f70-5f16-0410-b530-b9f4589650da
unstable
amaloteaux 2011-07-20 23:17:55 +00:00
parent 88125b53b8
commit b7ca38f212
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ module Exploit::Capture
if (not self.capture)
raise RuntimeError, "Could not start the capture process"
elsif (arp and !self.arp_capture)
elsif (arp and !self.arp_capture and cap.empty?)
raise RuntimeError, "Could not start the ARP capture process"
end