mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-21 06:23:52 +00:00
+5
-1
@@ -1209,6 +1209,10 @@ int main(int argc, char **argv)
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
if (method == NULL) {
|
||||
method = "table";
|
||||
}
|
||||
|
||||
if (timeout == NULL) {
|
||||
timeout = "60";
|
||||
}
|
||||
@@ -1283,7 +1287,7 @@ int main(int argc, char **argv)
|
||||
FATAL("listen() error");
|
||||
}
|
||||
setnonblocking(listenfd);
|
||||
LOGI("listening at %s:%s", host, server_port);
|
||||
LOGI("listening at %s:%s", host?host:"*", server_port);
|
||||
|
||||
struct listen_ctx *listen_ctx = &listen_ctx_list[index];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user