A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: ip4/udptcp4.c
- Revision:
- 138:5ff0c7069300
- Parent:
- 137:cf6e7db0e985
- Child:
- 142:a8c0890a58d1
--- a/ip4/udptcp4.c Sun Apr 07 11:05:16 2019 +0000 +++ b/ip4/udptcp4.c Sun Apr 07 18:36:42 2019 +0000 @@ -45,7 +45,7 @@ switch (pro) { case TCP: TcpHdrSetChecksum(pPacket, checksum); break; - case UDP: UdpAddChecksum(pPacket, checksum); break; + case UDP: UdpHdrSetChecksum(pPacket, checksum); break; } if (ActionGetTracePart(action))