Dependencies: NetServices mbed
Diff: main.cpp
- Revision:
- 5:1e77bdd1a639
- Parent:
- 4:26f346102b1a
--- a/main.cpp Sun Nov 28 00:37:05 2010 +0000 +++ b/main.cpp Wed Dec 15 18:03:19 2010 +0000 @@ -45,7 +45,7 @@ IpAddr ethIp = eth.getIp(); printf("IP address : %d.%d.%d.%d\n", ethIp[0], ethIp[1], ethIp[2], ethIp[3]); - printf("Check router DHCP table for name : %s\n", HOSTNAME); + printf("Check router DHCP table for name : %s\n", eth.getHostname()); printf("\nHTTPClient get...\n"); HTTPText txt;