Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: ip6/icmp/icmp6.c
- Revision:
- 172:9bc3c7b2cca1
- Parent:
- 138:5ff0c7069300
- Child:
- 199:d360a574bc2a
diff -r f708d6776752 -r 9bc3c7b2cca1 ip6/icmp/icmp6.c
--- a/ip6/icmp/icmp6.c Sat Dec 12 20:10:02 2020 +0000
+++ b/ip6/icmp/icmp6.c Wed Dec 16 17:33:22 2020 +0000
@@ -125,9 +125,9 @@
}
if (!action) return DO_NOTHING;
- Ip6AddressCopy(pDstIp, pSrcIp);
+ Ip6AddrCopy(pDstIp, pSrcIp);
SlaacAddressFromScope(scope, pSrcIp);
- Ip6AddressFromDest (ActionGetDestPart(action), pDstIp);
+ Ip6AddrFromDest (ActionGetDestPart(action), pDstIp);
*pSizeTx = HEADER_LENGTH + dataLengthTx;
@@ -146,9 +146,9 @@
if (!action) action = NsGetWaitingSolicitation(pData, &dataLength, &type, &code);
if (!action) return DO_NOTHING;
- int scope = SCOPE_LOCAL;
+ int scope = SCOPE_LINK_LOCAL;
SlaacAddressFromScope(scope, pSrcIp);
- Ip6AddressFromDest (ActionGetDestPart(action), pDstIp);
+ Ip6AddrFromDest (ActionGetDestPart(action), pDstIp);
*pSize = HEADER_LENGTH + dataLength;