aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp
AgeCommit message (Collapse)Author
2005-05-04Revert the uptime() removal. Let the list sort it out...Rob Landley
2005-05-04Patch from Shaun Jackman:Rob Landley
Replace uptime with time(NULL). time is more portable than uptime and eliminates the need to define uptime, reducing code size slightly.
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2005-04-16In Bug 209, bernhardf writes:Mike Frysinger
struct named { named_field: init, }; appear to be depraced by now; rather use C{99} format as in struct named { .named_field = init, };
2004-12-06merge from udhcp moduleMike Frysinger
2004-10-08Wade Berrier writes:Eric Andersen
Hello, Here's a patch for a first attempt at static leases for udhcpd. Included in the tarball are 2 files (static_leases.c, static_leases.h) and a patch against the latest cvs. In the config file you can configure static leases with the following format: static_lease 00:60:08:11:CE:4E 192.168.0.54 static_lease 00:60:08:11:CE:3E 192.168.0.44 Comments/suggestions/improvements are welcome. Wade
2004-10-08egor duda writes:Eric Andersen
Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
2004-05-19use busybox sysinfo structRuss Dill
2004-05-19Fix a compile problemEric Andersen
2004-05-19fix timewarp in client (server fix later)Russ Dill
2004-05-19remove uneccessary check (already done in pidfile.c)Russ Dill
2004-05-19fix memory leak caused by switch to vforkRuss Dill
2004-04-25Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
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