Dealing with the case of keeping RRU working if RAU is down

This commit is contained in:
Younes
2018-02-21 15:10:42 +01:00
parent f9aba7ac0f
commit ecd1f9f3e1
4 changed files with 30 additions and 5 deletions
@@ -190,6 +190,7 @@ int trx_eth_read_udp_IF4p5(openair0_device *device, openair0_timestamp *timestam
eth->num_rx_errors++;
if (errno == EAGAIN) {
printf("Lost IF4p5 connection with %s\n", inet_ntoa(eth->dest_addrd.sin_addr));
return -1;
} else if (errno == EWOULDBLOCK) {
block_cnt++;
usleep(10);