Skip to content

Commit

Permalink
Fix issue with hostnames used in adhoc scan methods
Browse files Browse the repository at this point in the history
Resolves #267
  • Loading branch information
gschneider-r7 committed May 8, 2017
1 parent bcfd0d0 commit dea2056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nexpose/scan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _append_asset!(xml, asset)
xml.add_element('range', 'from' => asset.from, 'to' => asset.to)
else # Assume HostName
host = REXML::Element.new('host')
host.text = asset.host
host.text = asset
xml.add_element(host)
end
end
Expand Down

0 comments on commit dea2056

Please sign in to comment.