Skip to content

Commit

Permalink
tshark/file/nfdump exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
botlog committed Jan 22, 2021
1 parent 9bfa182 commit 9da7fe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ddos_dissector.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ def prepare_tshark_cmd(input_path):
:param input_path: filename
return: tshark command line to be used to convert the file
"""

tshark = shutil.which("tshark")
if not tshark:
logger.error("Tshark software not found. It should be on the path.\n")
Expand Down

0 comments on commit 9da7fe3

Please sign in to comment.