Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG UE
Commits
5b63ce38
Commit
5b63ce38
authored
Jun 04, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix: local tracer to accept connection from everywhere
parent
f2f3e284
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/utils/T/local_tracer.c
common/utils/T/local_tracer.c
+2
-2
No files found.
common/utils/T/local_tracer.c
View file @
5b63ce38
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment