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
Diff: ip6/ip6addr.c
- Revision:
- 112:f8694d0b8858
- Parent:
- 107:cc58b4c2090b
- Child:
- 113:904b40231907
--- a/ip6/ip6addr.c Sun Jan 20 20:31:41 2019 +0000 +++ b/ip6/ip6addr.c Mon Jan 21 16:58:28 2019 +0000 @@ -6,7 +6,7 @@ #include "http.h" #include "action.h" #include "ndp.h" -#include "ntp.h" +#include "ntpclient.h" #include "slaac.h" #include "tftp.h" @@ -143,7 +143,7 @@ { case UNICAST: /*No change*/ break; case UNICAST_DNS: Ip6AddressCopy(pDstIp, NdpDnsServer ); break; - case UNICAST_NTP: Ip6AddressCopy(pDstIp, NtpServerIp6 ); break; + case UNICAST_NTP: Ip6AddressCopy(pDstIp, NtpClientServerIp6 ); break; case UNICAST_TFTP: Ip6AddressCopy(pDstIp, TftpServerIp6 ); break; case MULTICAST_NODE: Ip6AddressCopy(pDstIp, Ip6AddressAllNodes ); break; case MULTICAST_ROUTER: Ip6AddressCopy(pDstIp, Ip6AddressAllRouters); break;