From 994e90abac26f533edb764942e1990d674ea47ec Mon Sep 17 00:00:00 2001 From: Tony Kuker Date: Fri, 26 Feb 2021 11:40:16 -0600 Subject: [PATCH] Added error message if there is an error while reading the tap #27 --- src/raspberrypi/devices/ctapdriver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/raspberrypi/devices/ctapdriver.cpp b/src/raspberrypi/devices/ctapdriver.cpp index c96db344..d4f0a247 100644 --- a/src/raspberrypi/devices/ctapdriver.cpp +++ b/src/raspberrypi/devices/ctapdriver.cpp @@ -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; }