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.c
- Revision:
- 121:bc048b65a630
- Parent:
- 61:aad055f1b0d1
- Child:
- 160:6a1d1d368f80
--- a/udp/dns/dnsname.c Tue Jan 29 18:32:57 2019 +0000 +++ b/udp/dns/dnsname.c Mon Feb 04 15:27:33 2019 +0000 @@ -303,9 +303,9 @@ } else //it's a length plus a field eg 3www { - if (nameStarted) LogPush('.'); + if (nameStarted) LogChar('.'); p++; - for (int i = 0; i < length; i++) LogPush(*p++); + for (int i = 0; i < length; i++) LogChar(*p++); nameStarted = true; } }