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
Michael Black
OpenXG-RAN
Commits
8e5ccb00
Commit
8e5ccb00
authored
May 05, 2021
by
rmagueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace AssertFatal by LOG_E when UDP bind socket fails
parent
0816940f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openair3/UDP/udp_eNB_task.c
openair3/UDP/udp_eNB_task.c
+2
-2
No files found.
openair3/UDP/udp_eNB_task.c
View file @
8e5ccb00
...
...
@@ -169,8 +169,8 @@ int udp_eNB_create_socket(int port, char *ip_addr, task_id_t task_id)
if
((
rc
=
bind
(
sd
,
(
struct
sockaddr
*
)
&
sin
,
sizeof
(
struct
sockaddr_in
)))
<
0
)
{
close
(
sd
);
AssertFatal
(
rc
>=
0
,
"UDP: Failed to bind socket: (%s:%d) address %s port %d
\n
"
,
strerror
(
errno
),
errno
,
ip_addr
,
port
)
;
LOG_E
(
UDP_
,
"Failed to bind socket: (%s:%d) address %s port %d
\n
"
,
strerror
(
errno
),
errno
,
ip_addr
,
port
);
return
-
1
;
}
/* Create a new descriptor for this connection */
...
...
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