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:
36:900e24b27bfb
Parent:
35:93c39d260a83
Child:
37:793b39683406
--- a/udp/dns/dnsquery.cpp	Fri Sep 22 13:55:56 2017 +0000
+++ b/udp/dns/dnsquery.cpp	Mon Sep 25 07:09:32 2017 +0000
@@ -95,7 +95,7 @@
 {
     DnsQueryName[0]    = 0;
     DnsQueryIp4        = 0;
-    memcpy(DnsQueryIp6, ip, 16);
+    Ip6Copy(DnsQueryIp6, ip);
     DnsQueryIsBusy     = true;
     started            = elapsed;
     DnsQueryProtocol   = protocol;