fix: sytax error
All checks were successful
Create Scripts / Build (push) Successful in 1m52s

This commit is contained in:
椰子 2024-08-07 14:42:13 +08:00
parent 5c9b63f181
commit e65135c4f4

View File

@ -9,8 +9,8 @@ async fn main() {
create().await.unwrap();
println!("1. Disable mangle rules: {}", ":foreach i in=[/ip firewall mangle find comment=\"breakwall\"] do={ /ip firewall mangle disable $i }");
println!("2. Remove old CIDR list: {}", ":foreach i in=[/ip firewall address_list find list=chn_list ] do={/ip firewall address_list remove number=$i }");
println!("3. Load new CIDR list: {}", "/import chn_list.rsc")
println!("4. Enable mangle rules: {}", ":foreach i in=[/ip firewall mangle find comment=\"breakwall\"] do={ /ip firewall mangle enable $i }")
println!("3. Load new CIDR list: {}", "/import chn_list.rsc");
println!("4. Enable mangle rules: {}", ":foreach i in=[/ip firewall mangle find comment=\"breakwall\"] do={ /ip firewall mangle enable $i }");
}
async fn create() -> Result<(), Box<dyn Error>> {