aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/files.c
AgeCommit message (Collapse)Author
2007-04-11bb_full_fd_action: remove potential xmalloc from NOFORK pathDenis Vlasenko
cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes
2007-02-27udhcp: optionally support RFC3397 (by Gabriel L. Somlo <somlo@cmu.edu>)Denis Vlasenko
2007-02-04udhcp: use improved gethostbyname replacement from IPv6 codeDenis Vlasenko
2007-02-02add a comment so that people won't get confusedDenis Vlasenko
2007-02-02udhcpd: allow "domain" to be a list of DNS servers, not just oneDenis Vlasenko
2007-01-19strdup -> xstrdupDenis Vlasenko
sed: de-obfuscate piece of code
2006-11-27safe_strtoXX interface proved to be a bit unconvenient.Denis Vlasenko
Remove it, introduce saner bb_strtoXX. Saved ~350 bytes.
2006-11-23add "wpad" DHCP option. Spotted some optimization opportunities: -80 bytesDenis Vlasenko
2006-11-18small fixes: using fd-based io instead of FILE*-based,Denis Vlasenko
missed O_TRUNC, etc
2006-11-18udhcp: fix indentation and style.Denis Vlasenko
Eliminate (group) a lot of smallish *.h files Remove lots of unneeded #includes
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-09-06Implement optional syslog logging using ordinaryDenis Vlasenko
bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-05-28My first bout of untangling udhcp. Make lots of gratuitous #defines goRob Landley
away, substitutie BB_VER for an external VERSION, use busybox CONFIG symbols rather than checking for them then defining others, etc. Lots more cleanup to do...
2006-05-08add back in udhcp supportMike Frysinger
2006-03-23remove in place of external linkMike Frysinger
2006-03-23sync busybox and udhcp treesMike Frysinger
2006-03-01Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)Rob Landley
from before "if(x) free(x)".
2006-01-25just whitespaceTim Riker
2005-09-23remove 1 exported"Vladimir N. Oleynik"
2005-09-22move a couple of functions from common code (options.c) to udhcpd privatePaul Fox
code (files.c) to make udhcpc a little smaller.
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-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-01-30Use standard C99 typesEric Andersen
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-16remove reference to missing header file which is breaking the buildEric Andersen
2003-12-16why the complication of a static string rather than a define? gcc isn't dumbRuss Dill
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-15options is a pretty common symbol, bad idea to use as a global in udhcp when ↵Russ Dill
compiling into busybox
2003-06-10Vodz, last_patch_88Glenn L McGrath
2002-12-11resync with udhcp cvsRuss Dill
2002-11-28Change if(x)free(x); to free(x);Aaron Lehmann
2002-10-14added full udhcp integrationRuss Dill