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:
- 113:904b40231907
- Parent:
- 112:f8694d0b8858
- Child:
- 121:bc048b65a630
--- a/ip6/ip6addr.c Mon Jan 21 16:58:28 2019 +0000 +++ b/ip6/ip6addr.c Tue Jan 22 15:41:12 2019 +0000 @@ -142,8 +142,8 @@ switch (dest) { case UNICAST: /*No change*/ break; - case UNICAST_DNS: Ip6AddressCopy(pDstIp, NdpDnsServer ); break; - case UNICAST_NTP: Ip6AddressCopy(pDstIp, NtpClientServerIp6 ); break; + case UNICAST_DNS: Ip6AddressCopy(pDstIp, NdpDnsServer ); break; + case UNICAST_NTP: Ip6AddressCopy(pDstIp, NtpClientQueryServerIp6 ); break; case UNICAST_TFTP: Ip6AddressCopy(pDstIp, TftpServerIp6 ); break; case MULTICAST_NODE: Ip6AddressCopy(pDstIp, Ip6AddressAllNodes ); break; case MULTICAST_ROUTER: Ip6AddressCopy(pDstIp, Ip6AddressAllRouters); break;