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:
160:6a1d1d368f80
Parent:
121:bc048b65a630
Child:
190:c4415a7253f5
--- a/udp/dns/dnsname.c	Tue Sep 24 18:16:12 2019 +0000
+++ b/udp/dns/dnsname.c	Sun Sep 29 18:51:58 2019 +0000
@@ -133,7 +133,7 @@
                     byte += *p - '0';
                     p++;
                 }
-                if (byte != ip & 0xFF) return false;
+                if (byte != (ip & 0xFF)) return false;
                 ip >>= 8;
             }
             else if (field == 4)