From 7e2f12eb3652983683b14a9758628c19ba106301 Mon Sep 17 00:00:00 2001 From: "rawia.moalla" Date: Fri, 27 Oct 2023 12:25:23 +0100 Subject: [PATCH] remove commented code --- apps/app.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/apps/app.cpp b/apps/app.cpp index 9dbd3dd..bce17b4 100644 --- a/apps/app.cpp +++ b/apps/app.cpp @@ -106,19 +106,6 @@ int main(int argc, char* argv[]) { RawPacket newP; timeval time = tecmp_get_timeval(header); - - //if (header.data_type == TECMP_DATA_ETHERNET) - //{ - // // Ethernet Frame, write it back to the PCAP file without TECMP header - // newP = RawPacket(data, header.length, time, false); - //} - //else - //{ - // Print Status to stdout - //print_status(header, data); - - // Write back the frame depacketized - // Capture Module MTU = 1600 uint8_t buffer[1600]; @@ -141,7 +128,6 @@ int main(int argc, char* argv[]) { res = tecmp_next(p.getRawData(), p.getRawDataLen(), &iterator, &header, &data); } } - } reader->close(); writer.close();