From 9ba864be5618ab4d1bfab50471b797daa83545d8 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Sat, 5 Feb 2022 04:18:05 +0900 Subject: [PATCH] meta: cargo fmt --- shared/src/wg.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/shared/src/wg.rs b/shared/src/wg.rs index df6dfbe..e937d2a 100644 --- a/shared/src/wg.rs +++ b/shared/src/wg.rs @@ -100,10 +100,7 @@ pub fn up( .set_private_key(wireguard_control::Key::from_base64(private_key).unwrap()) .apply(interface, network.backend)?; set_addr(interface, address)?; - set_up( - interface, - network.mtu.unwrap_or(1412), - )?; + set_up(interface, network.mtu.unwrap_or(1412))?; if !network.no_routing { add_route(interface, address)?; }