Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Revision:
52:fbc5a46b5e16
Parent:
50:492f2d2954e4
Child:
53:77f8a49adf89
--- a/ip6/icmp/ndp/ns.cpp	Fri Nov 03 18:14:06 2017 +0000
+++ b/ip6/icmp/ndp/ns.cpp	Wed Nov 08 20:46:36 2017 +0000
@@ -80,7 +80,7 @@
     p += NdpAddOptionTargetMac(p, MacLocal);
     
     size = sizeof(struct header) + p - pData;
-    *pSize = *pSize;
+    *pSize = size;
     
     if (NsTraceRecvSol) logHeader();