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/dnsname.cpp
- Revision:
- 23:b641979389b2
- Parent:
- 22:914b970356f0
- Child:
- 32:679654f2d023
--- a/udp/dns/dnsname.cpp Mon Jul 03 14:29:07 2017 +0000 +++ b/udp/dns/dnsname.cpp Tue Jul 04 15:03:23 2017 +0000 @@ -115,7 +115,7 @@ if (p > DnsHdrPacket + MAX_PACKET_SIZE) { *pName = 0; - LogTimeF("DnsNameDecode could not find name end\r\n"); + if (DEBUG) LogTimeF("DnsNameDecode could not find name end\r\n"); return; }