Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Use actual variable for port instead of port text
Browse files Browse the repository at this point in the history
  • Loading branch information
mrinehart-r7 committed Apr 9, 2018
1 parent 14ac8d0 commit 7516f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nmap/nmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def analyse_nmap_xml_scan(self, nmap_xml_output=None, nmap_err='', nmap_err_keep
scan_result['scan'][host][proto] = list()

# Komand - change proto from dict to list to ease output spec
scan_result['scan'][host][proto].append({'port': 'port',
scan_result['scan'][host][proto].append({'port': port,
'state': state,
'reason': reason,
'name': name,
Expand Down

0 comments on commit 7516f99

Please sign in to comment.