|
@ -1566,7 +1566,7 @@ main(int argc, char **argv) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (server_num == 0) { |
|
|
if (server_num == 0) { |
|
|
server_host[server_num++] = NULL; |
|
|
|
|
|
|
|
|
server_host[server_num++] = "0.0.0.0"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (server_num == 0 || server_port == NULL |
|
|
if (server_num == 0 || server_port == NULL |
|
@ -1725,7 +1725,7 @@ main(int argc, char **argv) |
|
|
if (host && strcmp(host, ":") > 0) |
|
|
if (host && strcmp(host, ":") > 0) |
|
|
LOGI("tcp server listening at [%s]:%s", host, server_port); |
|
|
LOGI("tcp server listening at [%s]:%s", host, server_port); |
|
|
else |
|
|
else |
|
|
LOGI("tcp server listening at %s:%s", host ? host : "*", server_port); |
|
|
|
|
|
|
|
|
LOGI("tcp server listening at %s:%s", host ? host : "0.0.0.0", server_port); |
|
|
|
|
|
|
|
|
if (plugin != NULL) break; |
|
|
if (plugin != NULL) break; |
|
|
} |
|
|
} |
|
@ -1743,7 +1743,7 @@ main(int argc, char **argv) |
|
|
if (host && strcmp(host, ":") > 0) |
|
|
if (host && strcmp(host, ":") > 0) |
|
|
LOGI("udp server listening at [%s]:%s", host, port); |
|
|
LOGI("udp server listening at [%s]:%s", host, port); |
|
|
else |
|
|
else |
|
|
LOGI("udp server listening at %s:%s", host ? host : "*", port); |
|
|
|
|
|
|
|
|
LOGI("udp server listening at %s:%s", host ? host : "0.0.0.0", port); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|