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/dnsquery.c
- Revision:
- 187:122fc1996c86
- Parent:
- 176:7eb916c22084
- Child:
- 193:47a953ab571b
diff -r 24198369b198 -r 122fc1996c86 udp/dns/dnsquery.c --- a/udp/dns/dnsquery.c Sat Jan 16 18:34:32 2021 +0000 +++ b/udp/dns/dnsquery.c Mon Jan 18 18:23:46 2021 +0000 @@ -41,8 +41,8 @@ LogTimeF("DnsQuery reaped ongoing request for record type "); DnsRecordTypeLog(_RecordType); if (DnsQueryName[0]) { LogF(" name '%s'", DnsQueryName); } - if (DnsQueryIp4) { Log(" address "); Ip4AddressLog(DnsQueryIp4); } - if (DnsQueryIp6[0]) { Log(" address "); Ip6AddrLog (DnsQueryIp6); } + if (DnsQueryIp4) { Log(" address "); Ip4AddrLog(DnsQueryIp4); } + if (DnsQueryIp6[0]) { Log(" address "); Ip6AddrLog(DnsQueryIp6); } Log(" using "); DnsProtocolLog(_DnsProtocol); Log(" over "); @@ -137,7 +137,7 @@ Log(" "); if (DnsQueryIp4) //Reverse { - Ip4AddressLog(DnsQueryIp4); + Ip4AddrLog(DnsQueryIp4); } else if (DnsQueryIp6[0]) {