[PATCH] Fix udhcpc on no-MMU

Alex Landau landau_alex at yahoo.com
Thu Aug 2 11:37:21 UTC 2007


Hi,
Now it's udhcpc's turn. Actually a tiny patch that only changes the #ifdef which decides
whether we have an MMU or not.
Alex

Index: networking/udhcp/dhcpc.c
===================================================================
--- networking/udhcp/dhcpc.c	(revision 19396)
+++ networking/udhcp/dhcpc.c	(working copy)
@@ -109,7 +109,7 @@
 
 static void client_background(void)
 {
-#ifdef __uClinux__
+#if !BB_MMU
 	bb_error_msg("cannot background in uclinux (yet)");
 /* ... mainly because udhcpc calls client_background()
  * in _the _middle _of _udhcpc _run_, not at the start!



       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433



More information about the busybox mailing list