Skip to content

Commit eccebfa

Browse files
committed
fixed missing import of warn!, trace!, error!
1 parent 69b91b2 commit eccebfa

File tree

2 files changed

+2
-1
lines changed
  • crates/shadowsocks-service/src/local/redir/udprelay/sys/unix

2 files changed

+2
-1
lines changed

crates/shadowsocks-service/src/local/redir/udprelay/sys/unix/bsd.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use std::{
99

1010
use async_trait::async_trait;
1111
use futures::{future::poll_fn, ready};
12+
use log::{error, trace, warn};
1213
use shadowsocks::net::is_dual_stack_addr;
1314
use socket2::{Domain, Protocol, SockAddr, Socket, Type};
1415
use tokio::io::unix::AsyncFd;

crates/shadowsocks-service/src/local/redir/udprelay/sys/unix/linux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::{
99

1010
use cfg_if::cfg_if;
1111
use futures::{future::poll_fn, ready};
12-
use log::warn;
12+
use log::{error, trace, warn};
1313
use shadowsocks::net::is_dual_stack_addr;
1414
use socket2::{Domain, Protocol, SockAddr, Socket, Type};
1515
use tokio::io::unix::AsyncFd;

0 commit comments

Comments
 (0)