Merge branch 'develop'
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paul 2023-12-04 12:31:08 +01:00
commit 5d132c6380

View File

@ -111,7 +111,12 @@ pub fn fwblock(
// validate and send batch // validate and send batch
for b in [batch4, batch6] { for b in [batch4, batch6] {
let bf = b.finalize(); let bf = b.finalize();
send_and_process(&bf).unwrap(); match send_and_process(&bf) {
Ok(_) => {}
Err(e) => {
println!("error sending batch: {e}");
}
};
} }
if fwlen != &mut ips_add.len() { if fwlen != &mut ips_add.len() {
ret.push(format!("{length} ip in firewall", length = ips_add.len())); ret.push(format!("{length} ip in firewall", length = ips_add.len()));