Merge branch 'develop'
This commit is contained in:
commit
5d132c6380
@ -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()));
|
||||||
|
Loading…
Reference in New Issue
Block a user