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: udp/udp.c
- Revision:
- 171:f708d6776752
- Parent:
- 142:a8c0890a58d1
- Child:
- 172:9bc3c7b2cca1
--- a/udp/udp.c Wed Dec 09 18:11:05 2020 +0000 +++ b/udp/udp.c Sat Dec 12 20:10:02 2020 +0000 @@ -150,7 +150,7 @@ if (!action && type == (DnsSendRequestsViaIp4 ? IPV4 : IPV6)) //DNS is agnostic { - action = DnsPollForPacketToSend(pData, pDataLength); + action = DnsPollForPacketToSend(type, pData, pDataLength); int dest = ActionGetDestPart(action); if (dest) {