Pass the workspace into the importer properly

git-svn-id: file:///home/svn/framework3/trunk@8654 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2010-02-26 13:40:32 +00:00
parent 300cede801
commit 34489f9a61
1 changed files with 1 additions and 1 deletions

View File

@ -1283,7 +1283,7 @@ class DBManager
# it, along with any associated services, in the database.
parser.on_found_host = Proc.new { |h|
data = {}
data = {:workspace => wspace}
if (h["addrs"].has_key?("ipv4"))
addr = h["addrs"]["ipv4"]
elsif (h["addrs"].has_key?("ipv6"))