diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-08-10 15:47:29 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-08-10 15:47:29 +0000 |
commit | 31ad0c45dc659b15a127a7a2d4da2dd4e4f68dcb (patch) | |
tree | 81ae106c43f0216404982ba6859aa98b7740fabc /package/ether-wake/patches | |
parent | 518fcb30b85780d9f602f472b972536db09b51b1 (diff) |
Add ether-wake package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1595 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ether-wake/patches')
-rw-r--r-- | package/ether-wake/patches/no_ether_hostton_in_uclibc.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/ether-wake/patches/no_ether_hostton_in_uclibc.patch b/package/ether-wake/patches/no_ether_hostton_in_uclibc.patch new file mode 100644 index 000000000..91e93866d --- /dev/null +++ b/package/ether-wake/patches/no_ether_hostton_in_uclibc.patch @@ -0,0 +1,29 @@ +--- ether-wake-1.09-orig/ether-wake.c 2005-08-10 17:19:16.000000000 +0200 ++++ ether-wake-1.09-1/ether-wake.c 2005-08-10 17:18:55.000000000 +0200 +@@ -15,7 +15,7 @@ + " an optional password appended.\n" + "\n" + " The single required parameter is the Ethernet MAC (station) address\n" +-" of the machine to wake or a host ID with known NSS 'ethers' entry.\n" ++" of the machine to wake.\n" + " The MAC address may be found with the 'arp' program while the target\n" + " machine is awake.\n" + "\n" +@@ -289,16 +289,10 @@ + if (debug) + fprintf(stderr, "The target station address is %s.\n", + ether_ntoa(eaddr)); +- } else if (ether_hostton(hostid, eaddr) == 0) { +- if (debug) +- fprintf(stderr, "Station address for hostname %s is %s.\n", +- hostid, ether_ntoa(eaddr)); + } else { + (void)fprintf(stderr, + "ether-wake: The Magic Packet host address must be " +- "specified as\n" +- " - a station address, 00:11:22:33:44:55, or\n" +- " - a hostname with a known 'ethers' entry.\n"); ++ "specified as a station address, 00:11:22:33:44:55.\n"); + return -1; + } + return 0; |