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-b9f4589650daunstable
parent
41e5a4c61d
commit
d87b5ad3d2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue