projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15ca586
)
patch by apgo in Bug 345 to not use ether_hostton() with uClibc
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 31 Jul 2005 22:49:12 +0000
(22:49 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 31 Jul 2005 22:49:12 +0000
(22:49 -0000)
networking/ether-wake.c
patch
|
blob
|
history
diff --git
a/networking/ether-wake.c
b/networking/ether-wake.c
index 83ceece805707ba7f7decb6c85530e520189d306..9ea5c03666eb766a1ac52935ed2587aaa1c4a023 100644
(file)
--- a/
networking/ether-wake.c
+++ b/
networking/ether-wake.c
@@
-240,8
+240,12
@@
static inline void get_dest_addr(const char *hostid, struct ether_addr *eaddr)
if (eap) {
*eaddr = *eap;
bb_debug_msg("The target station address is %s\n\n", ether_ntoa(eaddr));
+#if !defined(__UCLIBC__)
} else if (ether_hostton(hostid, eaddr) == 0) {
bb_debug_msg("Station address for hostname %s is %s\n\n", hostid, ether_ntoa(eaddr));
+#else
+# warning Need to implement ether_hostton() for uClibc
+#endif
} else
bb_show_usage();
}