Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Revision:
172:9bc3c7b2cca1
Parent:
138:5ff0c7069300
Child:
199:d360a574bc2a
--- 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;