mirror of
https://github.com/arampoire/onetun.git
synced 2025-12-01 05:00:23 -05:00
Formatting
This commit is contained in:
parent
f270e64a5c
commit
d51144b693
2 changed files with 6 additions and 3 deletions
|
|
@ -13,7 +13,9 @@ pub async fn run_ip_sink_interface(wg: Arc<WireGuardTunnel>) -> ! {
|
|||
|
||||
// No sockets on sink interface
|
||||
let mut sockets: [_; 0] = Default::default();
|
||||
let mut virtual_interface = InterfaceBuilder::new(device, &mut sockets[..]).ip_addrs([]).finalize();
|
||||
let mut virtual_interface = InterfaceBuilder::new(device, &mut sockets[..])
|
||||
.ip_addrs([])
|
||||
.finalize();
|
||||
|
||||
loop {
|
||||
let loop_start = smoltcp::time::Instant::now();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue