check if /proc/sys/reset exist, from sven-ola
[openwrt.git] / openwrt / package / ether-wake / patches / no_ether_hostton_in_uclibc.patch
1 --- ether-wake-1.09-orig/ether-wake.c 2005-08-10 17:19:16.000000000 +0200
2 +++ ether-wake-1.09-1/ether-wake.c 2005-08-10 17:18:55.000000000 +0200
3 @@ -15,7 +15,7 @@
4 " an optional password appended.\n"
5 "\n"
6 " The single required parameter is the Ethernet MAC (station) address\n"
7 -" of the machine to wake or a host ID with known NSS 'ethers' entry.\n"
8 +" of the machine to wake.\n"
9 " The MAC address may be found with the 'arp' program while the target\n"
10 " machine is awake.\n"
11 "\n"
12 @@ -289,16 +289,10 @@
13 if (debug)
14 fprintf(stderr, "The target station address is %s.\n",
15 ether_ntoa(eaddr));
16 - } else if (ether_hostton(hostid, eaddr) == 0) {
17 - if (debug)
18 - fprintf(stderr, "Station address for hostname %s is %s.\n",
19 - hostid, ether_ntoa(eaddr));
20 } else {
21 (void)fprintf(stderr,
22 "ether-wake: The Magic Packet host address must be "
23 - "specified as\n"
24 - " - a station address, 00:11:22:33:44:55, or\n"
25 - " - a hostname with a known 'ethers' entry.\n");
26 + "specified as a station address, 00:11:22:33:44:55.\n");
27 return -1;
28 }
29 return 0;
This page took 0.047329 seconds and 5 git commands to generate.