mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-27 18:04:07 +00:00
add server port in log file
This commit is contained in:
+2
-2
@@ -927,9 +927,9 @@ server_recv_cb(EV_P_ ev_io *w, int revents)
|
||||
|
||||
if (verbose) {
|
||||
if ((atyp & ADDRTYPE_MASK) == 4)
|
||||
LOGI("connect to [%s]:%d", host, ntohs(port));
|
||||
LOGI("[%s] connect to [%s]:%d", remote_port, host, ntohs(port));
|
||||
else
|
||||
LOGI("connect to %s:%d", host, ntohs(port));
|
||||
LOGI("[%s] connect to %s:%d", remote_port, host, ntohs(port));
|
||||
}
|
||||
|
||||
if (!need_query) {
|
||||
|
||||
Reference in New Issue
Block a user