|
Lines 289-298
Link Here
|
| 289 |
if (debug) |
289 |
if (debug) |
| 290 |
fprintf(stderr, "The target station address is %s.\n", |
290 |
fprintf(stderr, "The target station address is %s.\n", |
| 291 |
ether_ntoa(eaddr)); |
291 |
ether_ntoa(eaddr)); |
|
|
292 |
#ifndef __UCLIBC__ |
| 292 |
} else if (ether_hostton(hostid, eaddr) == 0) { |
293 |
} else if (ether_hostton(hostid, eaddr) == 0) { |
| 293 |
if (debug) |
294 |
if (debug) |
| 294 |
fprintf(stderr, "Station address for hostname %s is %s.\n", |
295 |
fprintf(stderr, "Station address for hostname %s is %s.\n", |
| 295 |
hostid, ether_ntoa(eaddr)); |
296 |
hostid, ether_ntoa(eaddr)); |
|
|
297 |
#endif |
| 296 |
} else { |
298 |
} else { |
| 297 |
(void)fprintf(stderr, |
299 |
(void)fprintf(stderr, |
| 298 |
"ether-wake: The Magic Packet host address must be " |
300 |
"ether-wake: The Magic Packet host address must be " |