Commit 8e5ccb00 authored by rmagueta's avatar rmagueta

Replace AssertFatal by LOG_E when UDP bind socket fails

parent 0816940f
...@@ -169,8 +169,8 @@ int udp_eNB_create_socket(int port, char *ip_addr, task_id_t task_id) ...@@ -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) { if ((rc = bind(sd, (struct sockaddr *)&sin, sizeof(struct sockaddr_in))) < 0) {
close(sd); close(sd);
AssertFatal(rc >= 0, "UDP: Failed to bind socket: (%s:%d) address %s port %d\n", LOG_E(UDP_, "Failed to bind socket: (%s:%d) address %s port %d\n", strerror(errno), errno, ip_addr, port);
strerror(errno), errno, ip_addr, port); return -1;
} }
/* Create a new descriptor for this connection */ /* Create a new descriptor for this connection */
......
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