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/dns/dnshdr.c
- Revision:
- 187:122fc1996c86
- Parent:
- 172:9bc3c7b2cca1
--- a/udp/dns/dnshdr.c Sat Jan 16 18:34:32 2021 +0000 +++ b/udp/dns/dnshdr.c Mon Jan 18 18:23:46 2021 +0000 @@ -84,7 +84,7 @@ } static void logRecordA(int len, char* p) { - if (len == 4) Ip4AddressLog(*(uint32_t*)p); + if (len == 4) Ip4AddrLog(*(uint32_t*)p); else LogF("expected 4 bytes but had %d", len); } static void logRecordAAAA(int len, char* p)