Skip to content

Commit

Permalink
meta: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mcginty committed Feb 4, 2022
1 parent 9270b96 commit 9ba864b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions shared/src/wg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
}
Expand Down

0 comments on commit 9ba864b

Please sign in to comment.