fix nettle, gnutls to use latest API version, fix eth_raw interface with errno==EAGAIN

This commit is contained in:
Laurent Thomas
2016-08-16 08:42:35 +02:00
parent d14ed1d58c
commit e1aed5af9a
3 changed files with 373 additions and 433 deletions
@@ -271,6 +271,7 @@ int trx_eth_read_raw(openair0_device *device, openair0_timestamp *timestamp, voi
if (bytes_received ==-1) {
eth->num_rx_errors++;
perror("ETHERNET IF5 READ: ");
if (errno == EAGAIN) continue;
exit(-1);
} else {
/* store the timestamp value from packet's header */