readme: update rootless mode section

This commit is contained in:
rkonfj
2024-12-28 20:01:13 +08:00
parent 4ce25bb1cf
commit 5ed8a89ff4
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func (s *ProxyServer) Start(ctx context.Context, wg *sync.WaitGroup) error {
udpPacketConn.Close()
}()
s.udpListener = &N.UDPListener{PacketConn: udpPacketConn}
slog.Info("[Proxy] Server started", "listen", fmt.Sprintf("tcp+udp://%s", tcpListener.Addr().String()))
slog.Info("[Proxy] Server started", "listen", fmt.Sprintf("tcp+udp://%s", tcpListener.Addr().String()), "protocols", "socks5")
go s.run(tcpListener)
return nil
}