RealtimeCompLab2
Dependencies: mbed
Fork of PPP-Blinky by
Diff: main.cpp
- Revision:
- 37:2e6689f8b181
- Parent:
- 36:2a9b457f8276
- Child:
- 38:ab582987926e
--- a/main.cpp Thu Jan 05 10:32:12 2017 +0000 +++ b/main.cpp Thu Jan 05 10:37:48 2017 +0000 @@ -591,7 +591,6 @@ memcpy(srctcp, pdst,2); memcpy(dsttcp, psrc,2); // swap ip port source/dest - int newPacketSize = headerSizeIP + headerSizeTCP + dataLen; pktLen[0] = (newPacketSize>>8); pktLen[1]=newPacketSize; // ip total packet size