1
0

removing save iptables log

This commit is contained in:
midefos 2024-05-29 12:27:18 +02:00
parent 05296d32bf
commit fb487fd655

View File

@ -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");
});
}