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: eth/arp.cpp
- 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);