[BusyBox-cvs] svn commit: trunk/busybox/networking
vapier at busybox.net
vapier at busybox.net
Sun Jul 31 22:49:13 UTC 2005
Author: vapier
Date: 2005-07-31 16:49:12 -0600 (Sun, 31 Jul 2005)
New Revision: 11002
Log:
patch by apgo in Bug 345 to not use ether_hostton() with uClibc
Modified:
trunk/busybox/networking/ether-wake.c
Changeset:
Modified: trunk/busybox/networking/ether-wake.c
===================================================================
--- trunk/busybox/networking/ether-wake.c 2005-07-31 22:41:05 UTC (rev 11001)
+++ trunk/busybox/networking/ether-wake.c 2005-07-31 22:49:12 UTC (rev 11002)
@@ -240,8 +240,12 @@
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();
}
More information about the busybox-cvs
mailing list