Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Revision:
13:9cd54f7db57a
Parent:
10:f0854784e960
Child:
14:e75a59c1123d
--- a/eth/arp.cpp	Thu Apr 20 13:50:30 2017 +0000
+++ b/eth/arp.cpp	Mon May 01 18:20:55 2017 +0000
@@ -1,7 +1,7 @@
 #include "mbed.h"
 #include  "log.h"
 #include  "net.h"
-#include  "eth.h"
+#include  "mac.h"
 #include "dhcp.h"
 
 #define REQUEST   1
@@ -38,7 +38,7 @@
     
     memcpy(pHeader->targetHardwareAddress,  pHeader->senderHardwareAddress, 6);
            pHeader->targetProtocolAddress = pHeader->senderProtocolAddress;
-    memcpy(pHeader->senderHardwareAddress,  EthLocalMac,6);
+    memcpy(pHeader->senderHardwareAddress,  MacLocal,6);
            pHeader->senderProtocolAddress = DhcpLocalIp;
            pHeader->opCode                = NetToHost16(REPLY);