aboutsummaryrefslogtreecommitdiff
path: root/networking/ifupdown.c
AgeCommit message (Collapse)Author
2007-10-06- mark TODO: use index_in_str_array()Bernhard Reutner-Fischer
2007-09-27introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko
2007-09-21update Glenn McGrath's email addressDenis Vlasenko
2007-08-18don't pass argc in getopt32, it's superfluousDenis Vlasenko
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
2007-08-17assorted fixes for breakage found by randomconfigDenis Vlasenko
2007-08-02start_stop_daemon: NOMMU fixes, round 2 by Alex Landau <landau_alex@yahoo.com>Denis Vlasenko
dhcpc: fixed "ifupdown + udhcpc_without_pidpile_creation" bug
2007-07-21Three patches from FreeWRT peopleDenis Vlasenko
2007-07-19ifup/ifdown: make location of ifstate configurableDenis Vlasenko
2007-07-03ifupdown: kill -TERM is default, so drop -TERMDenis Vlasenko
ifupdown: ferror() does not set errno, don't use perror ifupdown: make netmask parsing smaller and more strict (was accepting 255.0.255.0, 255.1234.0.0 etc...) function old new delta count_bits 36 - -36 execute 2573 2535 -38 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/1 up/down: 0/-74) Total: -74 bytes text data bss dec hex filename 684204 2744 14000 700948 ab214 busybox_old 684132 2744 14000 700876 ab1cc busybox_unstripped
2007-06-25Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵Denis Vlasenko
<wharms@bfs.de>)
2007-05-30whitespace fixesDenis Vlasenko
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-05-02ifupdown: small optimization (avoid doing useless work if we areDenis Vlasenko
not going to update state file)
2007-05-02ifupdown: mke it possible to use DHCP clients different from udhcp.Denis Vlasenko
2007-05-02ifupdown: reread state file before rewriting it.Denis Vlasenko
Fixes "ifup started another ifup" state corruption bug. Patch by Natanael Copa <natanael.copa@gmail.com>.
2007-03-19- very minor size tweak.Bernhard Reutner-Fischer
TODO: mv to globals, config-out non-busybox dhcp client stuff, reduce string bloat, etc text data bss dec hex filename 7543 0 28 7571 1d93 networking/ifupdown.o.orig 7515 0 28 7543 1d77 networking/ifupdown.o
2007-03-09ifupdown: do not complain if !/var/run/ifstateDenis Vlasenko
2007-03-07clean up accumulated whitespace damageDenis Vlasenko
2007-03-06ifupdown: code to deconstruct the state_list gracefullyDenis Vlasenko
(patch by Gabriel L. Somlo <somlo@cmu.edu>)
2007-02-06EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-29preparatory patch for -Wwrite-strings #5Denis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #4Denis Vlasenko
2006-12-19remove casts from xmalloc()Denis Vlasenko
2006-12-19ifupdown: do not print and/or execute empty commands ("").Denis Vlasenko
2006-12-19ifupdown: parse() returning NULL and returning "" is not the same,Denis Vlasenko
it turned out! wow... okay, fixing my buglet...
2006-12-18ifupdown: strlen(NULL) is a no-no, fixed. Also few micro-optimizationsDenis Vlasenko
2006-11-27fix remaining survivors of the return(a) cleanupDenis Vlasenko
2006-11-23ifupdown:Denis Vlasenko
ifconfig said to set iface up before it processes hw %hwaddress%, which then of course fails. Thus we run two separate ifconfig
2006-11-23ifupdown: save some 100+ bytes of code in addstr()Denis Vlasenko
2006-11-20dhcprelay: new appletDenis Vlasenko
2006-10-25use skip_whitespace where appropriateDenis Vlasenko
2006-10-16strip -> $(STRIP); fix "unused variable" warningDenis Vlasenko
(patch by Diekema, Jon (AGRE) <Jon.Diekema@smiths-aerospace.com>)
2006-10-12bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko
Renaming...
2006-10-11ifupdown: stop emitting annoying/misleading error messages.Denis Vlasenko
Patch by Gabriel Somlo <somlo at cmu.edu>
2006-10-06dnsd fix; option_mask32 added. dnsd needs more love.Denis Vlasenko
2006-10-03bb_applet_name -> applet_nameDenis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-10-02ifupdown: Debian users contributed improvement to itDenis Vlasenko
2006-09-28ifupdown: make dhcp start/stop scripts user configurableDenis Vlasenko
in /etc/network/interfaces. Patch author is Gabriel L. Somlo <somlo@cmu.edu>
2006-09-27ifupdown: fix for standalone shell; removed hardcoded PATHDenis Vlasenko
2006-09-26ifupdown: style cleanup, no code changesDenis Vlasenko
2006-09-23ifupdown: getopt_ulflags'ification.Denis Vlasenko
2006-09-17whitespace cleanupDenis Vlasenko
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-01More removal of "#if 0" content."Robert P. J. Day"
2006-06-20only enable count_bit functions when actually needed to fix warning reported ↵Mike Frysinger
by Bernhard Fischer
2006-05-29Size reductions, mostly switching things to use libbb functions.Rob Landley
2006-05-26Change llist_add_* to take the address of the list rather than returning the newRob Landley
head, and change all the callers.
2006-05-07Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.