sxyoxygen
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/server.c
|
|
@ -2015,7 +2015,7 @@ main(int argc, char **argv) |
|
|
|
host = "127.0.0.1"; |
|
|
|
} |
|
|
|
|
|
|
|
if (host && strcmp(host, ":") > 0) |
|
|
|
if (host && ss_is_ipv6addr(host)) |
|
|
|
LOGI("tcp server listening at [%s]:%s", host, server_port); |
|
|
|
else |
|
|
|
LOGI("tcp server listening at %s:%s", host ? host : "0.0.0.0", server_port); |
|
|
@ -2054,7 +2054,7 @@ main(int argc, char **argv) |
|
|
|
if (plugin != NULL) { |
|
|
|
port = plugin_port; |
|
|
|
} |
|
|
|
if (host && strcmp(host, ":") > 0) |
|
|
|
if (host && ss_is_ipv6addr(host)) |
|
|
|
LOGI("udp server listening at [%s]:%s", host, port); |
|
|
|
else |
|
|
|
LOGI("udp server listening at %s:%s", host ? host : "0.0.0.0", port); |
|
|
|