mbed IP library over Ethernet with setName and setNewAddress
Dependencies: Socket lwip-eth lwip-sys lwip
Dependents: JRO_CR2 JRO_DDSv2 JRO_DDSv2_rev2019
Fork of EthernetInterface by
Diff: EthernetInterface.cpp
- Revision:
- 48:303f4d8389a1
- Parent:
- 47:3b0a475eb1ad
--- a/EthernetInterface.cpp Thu Feb 05 19:02:23 2015 +0000 +++ b/EthernetInterface.cpp Mon Feb 23 20:36:52 2015 +0000 @@ -126,7 +126,7 @@ } int EthernetInterface::setName(const char * myname) { - int i; + //int i; strncpy(myName, myname, 32); myName[32] = '\0'; // be sure it is NULL terminated.