Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
rawia.moalla committed Oct 27, 2023
1 parent 3e69117 commit 7e2f12e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions apps/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand All @@ -141,7 +128,6 @@ int main(int argc, char* argv[]) {
res = tecmp_next(p.getRawData(), p.getRawDataLen(), &iterator, &header, &data);
}
}
}

reader->close();
writer.close();
Expand Down

0 comments on commit 7e2f12e

Please sign in to comment.