Skip to content

Commit

Permalink
Merge pull request #604 from OWASP/fix-library-name-issue
Browse files Browse the repository at this point in the history
bug fix in protocol vs actual lib name
  • Loading branch information
Ali Razmjoo authored Sep 26, 2022
2 parents 25f015d + 27f563e commit da126b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/load_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def load(self):
port = service_event['ports']
protocols = service_event['response']['conditions_results'].keys()
for protocol in protocols:
if protocol in self.libraries and protocol:
if 'core_' + protocol in self.libraries and protocol:
if protocol in services:
services[protocol].append(port)
else:
Expand Down

0 comments on commit da126b3

Please sign in to comment.