mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-29 04:03:45 +00:00
Add default manager-address
This commit is contained in:
@@ -1089,6 +1089,11 @@ main(int argc, char **argv)
|
||||
daemonize(pid_path);
|
||||
}
|
||||
|
||||
if (manager_address == NULL) {
|
||||
manager_address = "127.0.0.1:8839";
|
||||
LOGI("using the default manager address: %s", manager_address);
|
||||
}
|
||||
|
||||
if (server_num == 0 || manager_address == NULL) {
|
||||
usage();
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
Reference in New Issue
Block a user