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:
191:33392a61182e
Parent:
190:c4415a7253f5
Child:
194:f35c6e218de1
--- a/udp/dns/dnsname.c	Thu Jan 21 14:56:55 2021 +0000
+++ b/udp/dns/dnsname.c	Thu Jan 21 15:09:55 2021 +0000
@@ -135,6 +135,7 @@
                     p++;
                 }
                 int ipByte = (ip >> 8 * (3 - field)) & 0xFF;
+                if (byte != ipByte) return false;
             }
             else if (field == 4)
             {