aboutsummaryrefslogtreecommitdiff
path: root/networking/ifupdown.c
AgeCommit message (Collapse)Author
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.
2006-04-14Remove code for protocols we don't properly support. (Most of this couldRob Landley
never be selected via menuconfig anyway.) If somebody wants one of these protocols, ask on the list for us to support it _properly_.
2006-04-03- move buffer allocation schemes to libbb.hBernhard Reutner-Fischer
- include the correct headers: applets need busybox.h while lib* need libbb.h
2006-03-22Fix from Glenn McGrath.Rob Landley
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-03-01Fixup to make warnings from the last patch go away.Rob Landley
2006-03-01Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)Rob Landley
from before "if(x) free(x)".
2006-02-28Cleanup from Glenn McGrath.Rob Landley
2006-02-26Patch from Glenn McGrath to remove code that opens a file but does nothingRob Landley
with it.
2006-01-25just whitespaceTim Riker
2005-12-14- several functions depend on IPv4 or IPv6 od IPX support.Bernhard Reutner-Fischer
removes warning about unused code for allbareconfig.
2005-10-28Rob Sullivan sent in some cleanups, which I beat on slightly.Rob Landley
2005-09-29change interface to bb_xasprintf() - more perfect for me."Vladimir N. Oleynik"
ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum
2005-09-29- rename llist_add_to.c to llist.cBernhard Reutner-Fischer
- move llist_add_to_end() from ifupdown.c to libbb/llist.c
2005-09-22more remove lost exported"Vladimir N. Oleynik"
2005-04-27Do not attempt to free() the application's environment, which is wasEric Andersen
not dynamically allocated. Instead, use a private variable to store the environment array, which is used when we exec applications.
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2005-04-16Only define a local environ when not using the prototype from unistd.hEric Andersen
2004-09-14Patch from Felipe Kellermann, remove some unnecessary dups, i declared a few ↵Glenn L McGrath
extra const's also.
2004-07-30use SIGTERM to kill off udhcpd, not SIGKILLEric Andersen
2004-07-30As noted by Eric Spakman, calling static_down() and then callingEric Andersen
bootp_down() seems redundant, esp since bootp_down was a subset of static_down, so just use that...
2004-07-26add missing ;Eric Andersen
2004-07-26bother. unrevert my fix.Eric Andersen
2004-07-26Make certain that udhcp shuts down the interfaceEric Andersen
2004-07-26oopsEric Andersen