Drops the DBImportError when you import a pcap file that doesn't actually contain any normal Eth::IP hosts. It doesn't add a whole lot or give the user any more information than merely failing to import anything.

git-svn-id: file:///home/svn/framework3/trunk@11543 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Tod Beardsley 2011-01-11 17:35:45 +00:00
parent 41e5a4c61d
commit d87b5ad3d2
1 changed files with 0 additions and 4 deletions

View File

@ -2189,10 +2189,6 @@ class DBManager
# Not sure what form that will take, but people like shoving many hundreds of
# thousands of packets through this thing, so it'll need to be memory efficient.
if seen_hosts.empty?
raise DBImportError.new("No valid Ethernet IP traffic detected in '#{args[:filename]}'")
end
end
# Do all the single packet analysis we can while churning through the pcap