Minor fix.

This commit is contained in:
aouinizied 2020-07-18 03:04:45 +02:00
parent 8094450986
commit 0bf7e992d3
2 changed files with 1 additions and 4 deletions

View file

@ -26,7 +26,7 @@ path = sys.argv[1]
output_file_name = path + ".csv"
print("nfstream processing started. Use Ctrl+C to interrupt and save.")
start = datetime.datetime.now()
total_flows = NFStreamer(source=path, statistics=True).to_csv(path=output_file_name, sep=";")
total_flows = NFStreamer(source=path, statistics=True).to_csv(path=output_file_name)
end = datetime.datetime.now()
print("\nnfstream processed {} flows and saved them in file: {}".format(total_flows, output_file_name))
print("Processing time: {}".format(end - start))

View file

@ -90,9 +90,6 @@ def setup_ndpi():
'dev',
'https://github.com/ntop/nDPI.git'])
os.chdir('nDPI/')
#subprocess.check_call(['git',
# 'checkout',
# '4148c5e065d32128eea17c0e228e372ad72eef82'])
subprocess.check_call(['./autogen.sh'])
os.chdir('src/')
os.chdir('lib/')