1 --- etherwake-1.09.orig/ether-wake.c 2005-07-10 20:44:25.000000000 +0200
2 +++ etherwake-1.09.orig.no_ether_hostton/ether-wake.c 2007-04-29 19:03:41.000000000 +0200
4 " an optional password appended.\n"
6 " The single required parameter is the Ethernet MAC (station) address\n"
7 +#if !defined(__UCLIBC__)
8 " of the machine to wake or a host ID with known NSS 'ethers' entry.\n"
10 +" of the machine to wake.\n"
12 " The MAC address may be found with the 'arp' program while the target\n"
13 " machine is awake.\n"
17 fprintf(stderr, "The target station address is %s.\n",
19 +#if !defined(__UCLIBC__)
20 } else if (ether_hostton(hostid, eaddr) == 0) {
22 fprintf(stderr, "Station address for hostname %s is %s.\n",
23 hostid, ether_ntoa(eaddr));
27 "ether-wake: The Magic Packet host address must be "
29 +#if !defined(__UCLIBC__)
30 " - a station address, 00:11:22:33:44:55, or\n"
31 " - a hostname with a known 'ethers' entry.\n");
33 + " - a station address, 00:11:22:33:44:55\n");