From f136adb65a20d4a9538abcb1c554b4551270f98b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Fri, 27 Oct 2023 21:11:24 +0200 Subject: [PATCH] chore(socks5): Hide internal method --- src/socks5.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socks5.rs b/src/socks5.rs index 77ea70e..b7cb796 100644 --- a/src/socks5.rs +++ b/src/socks5.rs @@ -96,7 +96,7 @@ pub async fn run_server(bind: SocketAddr) -> Result Vec { +fn new_reply(error: &ReplyError, sock_addr: SocketAddr) -> Vec { let (addr_type, mut ip_oct, mut port) = match sock_addr { SocketAddr::V4(sock) => ( consts::SOCKS5_ADDR_TYPE_IPV4,