diff options
Diffstat (limited to 'common/sys/net.c')
-rw-r--r-- | common/sys/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sys/net.c b/common/sys/net.c index 80566487..b1b0e965 100644 --- a/common/sys/net.c +++ b/common/sys/net.c @@ -146,7 +146,7 @@ int toconnect(const char *addr) assert(port && atoi(port) != 0); if (!buf[0] || buf[0] == '*') - serv_name.sin_addr.s_addr = htonl(INADDR_LOOPBACK); + serv_name.sin_addr.s_addr = htonl(INADDR_ANY); else serv_name.sin_addr.s_addr = inet_addr(buf); |