diff options
| author | Kalle Lindström <karl.lindstrom@mullvad.net> | 2025-05-15 15:22:59 +0200 |
|---|---|---|
| committer | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2025-05-16 14:32:41 +0200 |
| commit | 9e9fc815e042802eed134c80e47958c250e12791 (patch) | |
| tree | bb47b137e598307bff1c2b1bbd0bb64f3010669c | |
| parent | b71b3ff533c376688920cf21ecb79e8186198777 (diff) | |
| download | mullvadvpn-9e9fc815e042802eed134c80e47958c250e12791.tar.xz mullvadvpn-9e9fc815e042802eed134c80e47958c250e12791.zip | |
Fix formatting
| -rw-r--r-- | ci/ios/test-router/raas/src/web/routes.rs | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/ci/ios/test-router/raas/src/web/routes.rs b/ci/ios/test-router/raas/src/web/routes.rs index b6b9014773..d6e8a39838 100644 --- a/ci/ios/test-router/raas/src/web/routes.rs +++ b/ci/ios/test-router/raas/src/web/routes.rs @@ -8,8 +8,10 @@ use mnl::mnl_sys::libc; use std::collections::{BTreeMap, BTreeSet}; use uuid::Uuid; -use crate::block_list::{BlockList, BlockRule, Endpoints}; -use crate::web; +use crate::{ + block_list::{BlockList, BlockRule, Endpoints}, + web, +}; #[derive(serde::Deserialize, Clone)] pub struct NewRule { @@ -204,11 +206,20 @@ fn log_rule(rule: &BlockRule, label: &Uuid) { ); } BlockRule::WireGuard { - endpoints: Endpoints { src, dst, invert_dst }, + endpoints: + Endpoints { + src, + dst, + invert_dst, + }, } => { log::info!( "Successfully added a rule to {} {src} to {dst} for WireGuard [test: {label}]", - if *invert_dst { "allow only traffic from" } else { "block" }, + if *invert_dst { + "allow only traffic from" + } else { + "block" + }, ); } } |
