diff options
author | dimitri staessens <[email protected]> | 2016-08-10 18:21:36 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-08-10 18:21:36 +0200 |
commit | 88e820cd80323cf7f08fb7be1e683200016e9d34 (patch) | |
tree | 8e02b8352095623a8b17662999d15472a85f5b61 | |
parent | 533df37ac3a643017dba96283791d36934e15464 (diff) | |
parent | 669b56f4ea6873d4c87109fe31d98c3861d41150 (diff) | |
download | ouroboros-88e820cd80323cf7f08fb7be1e683200016e9d34.tar.gz ouroboros-88e820cd80323cf7f08fb7be1e683200016e9d34.zip |
Merged in sandervrijders/ouroboros/be-llc-fix (pull request #205)
ipcpd: Add MSG_DONTWAIT flag to shim-eth-llc
-rw-r--r-- | src/ipcpd/shim-eth-llc/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c index b8689ac7..c719f5c5 100644 --- a/src/ipcpd/shim-eth-llc/main.c +++ b/src/ipcpd/shim-eth-llc/main.c @@ -379,7 +379,7 @@ static int eth_llc_ipcp_send_frame(uint8_t dst_addr[MAC_SIZE], header->tp_len = frame_len; header->tp_status = TP_STATUS_SEND_REQUEST; - if (send(fd, NULL, 0, 0) < 0) { + if (send(fd, NULL, 0, MSG_DONTWAIT) < 0) { LOG_ERR("Failed to write frame into TX_RING."); return -1; } |