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:
112:f8694d0b8858
Parent:
95:b9a99049016a
Child:
113:904b40231907
--- a/udp/udp.c	Sun Jan 20 20:31:41 2019 +0000
+++ b/udp/udp.c	Mon Jan 21 16:58:28 2019 +0000
@@ -14,6 +14,7 @@
 #include    "ip6.h"
 #include  "slaac.h"
 #include     "ns.h"
+#include "ntpclient.h"
 
 bool UdpTrace = true;
 
@@ -133,7 +134,7 @@
             }
         }
     }
-    if (!action && type == (NtpSendRequestsViaIp4 ? IPV4 : IPV6)) //NTP is agnostic
+    if (!action && type == (NtpClientSendRequestsViaIp4 ? IPV4 : IPV6)) //NTP is agnostic
     {
         action = NtpPollForPacketToSend(type, pData, pDataLength);
         if (action)