From d261b392067ef8fedcee216c5ba817dc058525a9 Mon Sep 17 00:00:00 2001 From: James Lee Date: Tue, 5 Jan 2010 18:18:49 +0000 Subject: [PATCH] actually save the result of the merge git-svn-id: file:///home/svn/framework3/trunk@8072 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/parser/nmap_xml.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/parser/nmap_xml.rb b/lib/rex/parser/nmap_xml.rb index cb83c89dc6..0ae80d73d6 100644 --- a/lib/rex/parser/nmap_xml.rb +++ b/lib/rex/parser/nmap_xml.rb @@ -70,7 +70,7 @@ class NmapXMLStreamParser when "service" # Store any service info with the associated port. There shouldn't # be any collisions on attribute names here, so just merge them. - @host["ports"].last.merge(attributes) + @host["ports"].last.merge!(attributes) end end