Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
常顺宇
OpenXG-RAN
Commits
a9d91337
Commit
a9d91337
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
91e57c8a
Changes
1
Show 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 @
a9d91337
...
...
@@ -206,7 +206,7 @@ dead:
};
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
;
return
NULL
;
...
...
@@ -230,7 +230,7 @@ static void *forwarder(int port, int s)
printf
(
"waiting for remote tracer on port %d
\n
"
,
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
(
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