diff options
Diffstat (limited to 'tizen/src/util/net_helper.c')
-rw-r--r-- | tizen/src/util/net_helper.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tizen/src/util/net_helper.c b/tizen/src/util/net_helper.c index ff6c5c4fb7..c6298d8df9 100644 --- a/tizen/src/util/net_helper.c +++ b/tizen/src/util/net_helper.c @@ -79,11 +79,7 @@ int check_port_bind_listen(uint32_t port) int ret = -1; addr.sin_family = AF_INET; addr.sin_port = htons(port); - - if (inet_aton(HOST_LISTEN_ADDR, &addr.sin_addr) == 0) { - LOG_SEVERE("inet_aton failure\n"); - return -1; - } + addr.sin_addr.s_addr = INADDR_ANY; ret = qemu_socket(PF_INET, SOCK_STREAM, 0); if (ret < 0) { |