From 1b5c0b9cc87e900b4c0ff63a8205ca19532996c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B6=D1=83=D1=80=D0=B8=D0=BD=D1=81=D0=BA=D0=B8?= =?UTF-8?q?=D0=B9=20=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80?= Date: Sun, 27 Nov 2016 00:06:09 +0300 Subject: [PATCH] add txt extension for attacks details files --- src/fastnetmon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fastnetmon.cpp b/src/fastnetmon.cpp index 34baf3d2..58cf4fdf 100644 --- a/src/fastnetmon.cpp +++ b/src/fastnetmon.cpp @@ -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);