Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Revision:
49:1a6336f2b3f9
Parent:
48:952dddb74b8b
Child:
50:492f2d2954e4
--- a/ip6/icmp/ndp/ns.cpp	Tue Oct 31 21:25:09 2017 +0000
+++ b/ip6/icmp/ndp/ns.cpp	Thu Nov 02 08:10:55 2017 +0000
@@ -2,7 +2,7 @@
 #include    "log.h"
 #include    "net.h"
 #include "action.h"
-#include    "ip6.h"
+#include "ip6addr.h"
 #include    "mac.h"
 #include     "nr.h"
 #include    "ar6.h"
@@ -123,7 +123,7 @@
     pHeader = (header*)pPacket;
     size = *pSize;
     pHeader->reserved = 0;
-    Ip6Copy(pHeader->target, NsAddressToResolve);
+    Ip6AddressCopy(pHeader->target, NsAddressToResolve);
     
     char* pData = (char*)pHeader + sizeof(struct header);
     char* p = pData;