summaryrefslogtreecommitdiff
path: root/networking/udhcp
AgeCommit message (Collapse)Author
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-05Patch by Andrew Victor,Glenn L McGrath
In arpping.h, fix structure alignment of "struct arpMsg". GCC can insert padding in the structure which causes udhcpd to send an invalid ARP packet on the network. It will then not receive a valid reply, which can cause it to assign an IP address that's already in use on the network. (With kernels before 2.4.20, the "struct ethhdr" in linux/if_ether.h wasn't marked as packed. This is also an issue if your toolchain was built with a pre-2.4.20 kernel).
2004-03-05Fix a typo, patch by Andrew VictorGlenn L McGrath
2004-01-30Use standard C99 typesEric Andersen
2003-12-26it should work even if you don't assign a pidfileRuss Dill
2003-12-24fix a long standing underallocation bugRuss Dill
2003-12-24move debugging to safe place (before vfork)Russ Dill
2003-12-18Finish remerging busybox udhcp and udhcp. Some cleanups as well.Russ Dill
2003-12-16clean up some bad, bad formattingRuss Dill
2003-12-16include headers with prototypes to make sure prototypes matchRuss Dill
2003-12-16remove reference to missing header file which is breaking the buildEric Andersen
2003-12-16revert removal of defineRuss Dill
2003-12-16forgotten includeRuss Dill
2003-12-16why the complication of a static string rather than a define? gcc isn't dumbRuss Dill
2003-12-16start attempting to bring udhcp in busybox back to the state where it is ↵Russ Dill
(ideally) an exact copy of udhcp outside of busybox so that its easy to merge back and forth
2003-12-16when compiled standalone, udhcp needs these headersRuss Dill
2003-12-16whoopsRuss Dill
2003-12-16not sure who made this change, but it certainly mucks things up (note ↵Russ Dill
'fwrite(leases, ...'), adds a bit more code, and some stack overhead. Anywho, this fixes it, and retains the spirit of what the submitter of this change was attempting to acheive (the entire lease is written at once in a struct)
2003-12-15make udhcp work under uclinux, to an extentRuss Dill
2003-12-15options is a pretty common symbol, bad idea to use as a global in udhcp when ↵Russ Dill
compiling into busybox
2003-11-14Ulrich Marx writes:Eric Andersen
hello i had some trouble with the filedescriptor in udhcp. Two things happened on my device: 1.) broken or not connected cable (no dhcp-server) 2.) daemonizing (starting with option -b) i got a filedescriptor fd=0 from function raw_socket, after daemonizing (daemon call) the fd is closed. Client can't recieve data's anymore. i fixed this problem (like pidfile handling):
2003-10-22Andreas Mohr writes:Eric Andersen
the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer
2003-09-01Allow one to detect and handle the case where no lease could be obtainedGlenn L McGrath
via DHCP. (Just add a section "failed" to your script.) Patch by Steven Scholz
2003-08-30"Without this patch, udhcpcd output may be buffered and delayed forGlenn L McGrath
for minutes if stdout is not a tty." -vda@
2003-08-29Remove stray '\n'Glenn L McGrath
2003-08-29Remove unused filesGlenn L McGrath
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-07-14Patch from Thomas Cameron:Eric Andersen
Hello all, This patch adds more "Help" text to the config system. Almost all applets now have a help entry. Also, I cleaned up the spacing of the existing text so that things are consistent. This patch is against this morning's CVS. Thomas Cameron CEI Systems, Inc.
2003-06-20Make gcc not whine about "deprecated use of label at end of compound statement"Eric Andersen
2003-06-14Add missing pieces from vodz' last_patch88Eric Andersen
2003-06-10Vodz, last_patch_88Glenn L McGrath
2003-03-19Major coreutils update.Manuel Novoa III
2003-02-15Patch from Bastian BlankGlenn L McGrath
- ip route flush - different usage for telnetd in inetd mode - changes for the default flags of the ip features - if no /usr requested, udhcpc should use the script also without /usr.
2003-02-12sync with udhcp bug fixesRuss Dill
2003-01-21merge fixes with udhcpRuss Dill
2002-12-11hehe. Screwed that one up. Lets do things right this time.Eric Andersen
-Erik
2002-12-11Makefile rework coordinate with Russ so udhcp will behaveEric Andersen
-Erik
2002-12-11slight change to reflect BB_VER changeRuss Dill
2002-12-11sorry about all the noise, should be all synced up nowRuss Dill
2002-12-11resync with udhcp cvsRuss Dill
2002-12-11Make sure we have a show_usage function prototypeEric Andersen
-Erik
2002-12-08Support using ip in udhcpc scripts.Glenn L McGrath
Slightly modified version of patch by Bastian Blank
2002-12-06Fixup dumpleases compile problemEric Andersen
2002-12-05Yet another major rework of the BusyBox config system, using the considerablyEric Andersen
modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik
2002-11-28Change if(x)free(x); to free(x);Aaron Lehmann
2002-11-19udhcpc documentation updateRuss Dill
2002-11-05version number oopsRuss Dill
2002-10-31sync to udhcp 0.9.8Russ Dill
2002-10-14missed add for udhcpRuss Dill
2002-10-14added full udhcp integrationRuss Dill