Commits

Anonymous committed d170831

Change ip

Comments (0)

Files changed (1)

tobikko/core/socket.c

     DEBUG("self %p %s:%d", self, host, port);
 
     if(host[0] == '\0'){
-        host = "127.0.0.1";
+        host = "0.0.0.0";
     }
     addr = (struct sockaddr_in *)sa;
     addr->sin_family = AF_INET;