Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: ip4/icmp/icmp4.cpp
- Revision:
- 52:fbc5a46b5e16
- Parent:
- 47:73af5c0b0dc2
- Child:
- 59:e0e556c8bd46
diff -r 007bd938f2c3 -r fbc5a46b5e16 ip4/icmp/icmp4.cpp
--- a/ip4/icmp/icmp4.cpp Fri Nov 03 18:14:06 2017 +0000
+++ b/ip4/icmp/icmp4.cpp Wed Nov 08 20:46:36 2017 +0000
@@ -24,7 +24,7 @@
static uint16_t checksum;
static uint16_t calculated;
static int dataLength;
-static void* pData;
+//static void* pData;
static void logType(uint16_t type)
{
@@ -60,7 +60,7 @@
code = pHeader->code;
checksum = NetToHost16(pHeader->checksum);
calculated = NetCheckSum(size, pPacket);
- pData = (char*)pPacket + HEADER_SIZE;
+// pData = (char*)pPacket + HEADER_SIZE;
dataLength = size - HEADER_SIZE;
}
static void writeHeader(void* pPacket, int size)