aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/ether-wake.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/networking/ether-wake.c b/networking/ether-wake.c
index 882429d1a..59f40535c 100644
--- a/networking/ether-wake.c
+++ b/networking/ether-wake.c
@@ -115,7 +115,10 @@ static void get_dest_addr(const char *hostid, struct ether_addr *eaddr)
115 if (eap) { 115 if (eap) {
116 *eaddr = *eap; 116 *eaddr = *eap;
117 bb_debug_msg("The target station address is %s\n\n", ether_ntoa(eaddr)); 117 bb_debug_msg("The target station address is %s\n\n", ether_ntoa(eaddr));
118#if !defined(__UCLIBC__) 118#if !defined(__UCLIBC_MAJOR__) \
119 || __UCLIBC_MAJOR__ > 0 \
120 || __UCLIBC_MINOR__ > 9 \
121 || (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ >= 30)
119 } else if (ether_hostton(hostid, eaddr) == 0) { 122 } else if (ether_hostton(hostid, eaddr) == 0) {
120 bb_debug_msg("Station address for hostname %s is %s\n\n", hostid, ether_ntoa(eaddr)); 123 bb_debug_msg("Station address for hostname %s is %s\n\n", hostid, ether_ntoa(eaddr));
121#endif 124#endif