Merge pull request #608 from adzhurinskij/master

add txt extension for attacks details files
This commit is contained in:
Pavel Odintsov 2016-11-26 22:04:18 +00:00 committed by GitHub
commit 22aa227fca

@ -4095,7 +4095,7 @@ void print_attack_details_to_file(std::string details, std::string client_ip_as_
std::ofstream my_attack_details_file;
std::string ban_timestamp_as_string = print_time_t_in_fastnetmon_format(current_attack.ban_timestamp);
std::string attack_dump_path = attack_details_folder + "/" + client_ip_as_string + "_" + ban_timestamp_as_string;
std::string attack_dump_path = attack_details_folder + "/" + client_ip_as_string + "_" + ban_timestamp_as_string + ".txt";
my_attack_details_file.open(attack_dump_path.c_str(), std::ios::app);