mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
fixed error message
This commit is contained in:
@@ -53,7 +53,7 @@ impl TcpRelayServer {
|
||||
|
||||
fn accept_loop(s: ServerConfig, forbidden_ip: Arc<HashSet<IpAddr>>) {
|
||||
let acceptor = TcpListener::bind(&(&s.addr[..], s.port))
|
||||
.unwrap_or_else(|err| panic!("Failed to bind a UDP socket: {}", err));
|
||||
.unwrap_or_else(|err| panic!("Failed to bind a TCP socket: {}", err));
|
||||
|
||||
info!("Shadowsocks listening on {}:{}", s.addr, s.port);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user