mirror of
https://github.com/akuker/RASCSI.git
synced 2025-03-27 16:29:35 +00:00
Added error message if there is an error while reading the tap #27
This commit is contained in:
parent
33f09490be
commit
994e90abac
@ -288,6 +288,7 @@ int FASTCALL CTapDriver::Rx(BYTE *buf)
|
||||
// Receive
|
||||
dwReceived = read(m_hTAP, buf, ETH_FRAME_LEN);
|
||||
if (dwReceived == (DWORD)-1) {
|
||||
LOGWARN("%s Error occured while receiving an packet", __PRETTY_FUNCTION__);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user