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:
32:679654f2d023
Child:
37:793b39683406
diff -r 93c39d260a83 -r 900e24b27bfb udp/dns/dnsname.cpp
--- a/udp/dns/dnsname.cpp	Fri Sep 22 13:55:56 2017 +0000
+++ b/udp/dns/dnsname.cpp	Mon Sep 25 07:09:32 2017 +0000
@@ -90,7 +90,8 @@
                 if (DEBUG) LogTimeF("DnsNameCompare exceeded depth limit\r\n");
                 return false;
             }
-            p = derefOffset(p);
+            pStart = derefOffset(p);
+            p = pStart;
         }
         else                      //it's a length plus a field eg 3www
         {