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:
116:60521b29e4c9
Parent:
113:904b40231907
Child:
176:7eb916c22084
--- a/ip4/ip4addr.c	Wed Jan 23 15:42:35 2019 +0000
+++ b/ip4/ip4addr.c	Fri Jan 25 17:37:51 2019 +0000
@@ -46,8 +46,8 @@
     switch (dest)
     {
         case UNICAST:          /*No change*/                          break;
-        case UNICAST_DNS:      *pDstIp = DhcpDnsServer;               break;
-        case UNICAST_DHCP:     *pDstIp = DhcpServer;                  break;
+        case UNICAST_DNS:      *pDstIp = DhcpDnsServerIp;             break;
+        case UNICAST_DHCP:     *pDstIp = DhcpServerIp;                break;
         case UNICAST_NTP:      *pDstIp = NtpClientQueryServerIp4;     break;
         case UNICAST_TFTP:     *pDstIp = TftpServerIp4;               break;
         case MULTICAST_NODE:   *pDstIp = IP4_MULTICAST_ALL_HOSTS;     break;