From fb487fd655ec8a5504c3e99f57b87068c4528456 Mon Sep 17 00:00:00 2001 From: midefos Date: Wed, 29 May 2024 12:27:18 +0200 Subject: [PATCH] removing save iptables log --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index f647271..61f0feb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -54,13 +54,12 @@ async fn start_ban_server( if let Some(iptables_save) = iptables_save { let seconds_iptables = Duration::from_secs(60); println!( - "starting iptables-save, run every {} seconds", + "starting iptables-save, save every {} seconds", seconds_iptables.as_secs() ); thread::spawn(move || loop { sleep(seconds_iptables); iptables_save::save_iptables(&iptables_save); - println!("saved iptables rules"); }); }