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

Revision:
38:cc8945857a0d
Parent:
37:793b39683406
Child:
43:bc028d5a6424
diff -r 793b39683406 -r cc8945857a0d udp/dns/dnsquery.cpp
--- a/udp/dns/dnsquery.cpp	Wed Oct 04 07:51:02 2017 +0000
+++ b/udp/dns/dnsquery.cpp	Wed Oct 04 11:22:33 2017 +0000
@@ -156,6 +156,8 @@
     *pSize = p - DnsHdrPacket;
     
     DnsQueryIsBusy = false;
+    
+    if (DnsQueryTrace) DnsHdrLog(DnsQueryProtocol);
 
     int dest = DO_NOTHING;