Commit a9d91337 authored by Cedric Roux's avatar Cedric Roux

bugfix: local tracer to accept connection from everywhere

parent 91e57c8a
...@@ -206,7 +206,7 @@ dead: ...@@ -206,7 +206,7 @@ dead:
}; };
close(f->socket_remote); close(f->socket_remote);
f->socket_remote = get_connection("127.0.0.1", f->remote_port); f->socket_remote = get_connection("0.0.0.0", f->remote_port);
goto again; goto again;
return NULL; return NULL;
...@@ -230,7 +230,7 @@ static void *forwarder(int port, int s) ...@@ -230,7 +230,7 @@ static void *forwarder(int port, int s)
printf("waiting for remote tracer on port %d\n", port); printf("waiting for remote tracer on port %d\n", port);
f->remote_port = port; f->remote_port = port;
f->socket_remote = get_connection("127.0.0.1", port); f->socket_remote = get_connection("0.0.0.0", port);
new_thread(data_sender, f); new_thread(data_sender, f);
new_thread(forward_remote_messages, f); new_thread(forward_remote_messages, f);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment