aboutsummaryrefslogtreecommitdiff
path: root/networking/ifupdown.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* fix remaining survivors of the return(a) cleanupDenis Vlasenko2006-11-271-5/+5
|
* ifupdown:Denis Vlasenko2006-11-231-6/+9
| | | | | ifconfig said to set iface up before it processes hw %hwaddress%, which then of course fails. Thus we run two separate ifconfig
* ifupdown: save some 100+ bytes of code in addstr()Denis Vlasenko2006-11-231-45/+35
|
* dhcprelay: new appletDenis Vlasenko2006-11-201-0/+9
|
* use skip_whitespace where appropriateDenis Vlasenko2006-10-251-7/+2
|
* strip -> $(STRIP); fix "unused variable" warningDenis Vlasenko2006-10-161-1/+1
| | | | (patch by Diekema, Jon (AGRE) <Jon.Diekema@smiths-aerospace.com>)
* bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko2006-10-121-1/+1
| | | | Renaming...
* ifupdown: stop emitting annoying/misleading error messages.Denis Vlasenko2006-10-111-33/+55
| | | | Patch by Gabriel Somlo <somlo at cmu.edu>
* dnsd fix; option_mask32 added. dnsd needs more love.Denis Vlasenko2006-10-061-9/+8
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-1/+1
| | | | | | | | 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.
* ifupdown: Debian users contributed improvement to itDenis Vlasenko2006-10-021-23/+27
|
* ifupdown: make dhcp start/stop scripts user configurableDenis Vlasenko2006-09-281-0/+16
| | | | in /etc/network/interfaces. Patch author is Gabriel L. Somlo <somlo@cmu.edu>
* ifupdown: fix for standalone shell; removed hardcoded PATHDenis Vlasenko2006-09-271-41/+23
|
* ifupdown: style cleanup, no code changesDenis Vlasenko2006-09-261-266/+260
|
* ifupdown: getopt_ulflags'ification.Denis Vlasenko2006-09-231-59/+29
|
* whitespace cleanupDenis Vlasenko2006-09-171-1/+1
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-30/+18
| | | | | | | | | | 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.)
* More removal of "#if 0" content."Robert P. J. Day"2006-07-011-4/+0
|
* only enable count_bit functions when actually needed to fix warning reported ↵Mike Frysinger2006-06-201-1/+2
| | | | by Bernhard Fischer
* Size reductions, mostly switching things to use libbb functions.Rob Landley2006-05-291-61/+8
|
* Change llist_add_* to take the address of the list rather than returning the newRob Landley2006-05-261-5/+5
| | | | head, and change all the callers.
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley2006-05-071-8/+8
| | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
* Remove code for protocols we don't properly support. (Most of this couldRob Landley2006-04-141-38/+1
| | | | | never be selected via menuconfig anyway.) If somebody wants one of these protocols, ask on the list for us to support it _properly_.
* - move buffer allocation schemes to libbb.hBernhard Reutner-Fischer2006-04-031-1/+1
| | | | - include the correct headers: applets need busybox.h while lib* need libbb.h
* Fix from Glenn McGrath.Rob Landley2006-03-221-1/+1
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* Fixup to make warnings from the last patch go away.Rob Landley2006-03-011-5/+5
|
* Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)Rob Landley2006-03-011-8/+7
| | | | from before "if(x) free(x)".
* Cleanup from Glenn McGrath.Rob Landley2006-02-281-46/+18
|
* Patch from Glenn McGrath to remove code that opens a file but does nothingRob Landley2006-02-261-12/+1
| | | | with it.
* just whitespaceTim Riker2006-01-251-2/+2
|
* - several functions depend on IPv4 or IPv6 od IPX support.Bernhard Reutner-Fischer2005-12-141-0/+3
| | | | removes warning about unused code for allbareconfig.
* Rob Sullivan sent in some cleanups, which I beat on slightly.Rob Landley2005-10-281-19/+7
|
* change interface to bb_xasprintf() - more perfect for me."Vladimir N. Oleynik"2005-09-291-1/+1
| | | | | ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum
* - rename llist_add_to.c to llist.cBernhard Reutner-Fischer2005-09-291-23/+0
| | | | - move llist_add_to_end() from ifupdown.c to libbb/llist.c
* more remove lost exported"Vladimir N. Oleynik"2005-09-221-1/+1
|
* Do not attempt to free() the application's environment, which is wasEric Andersen2005-04-271-10/+8
| | | | | not dynamically allocated. Instead, use a private variable to store the environment array, which is used when we exec applications.
* Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen2005-04-161-2/+2
| | | | which were otherwise cluttering the global namespace.
* Only define a local environ when not using the prototype from unistd.hEric Andersen2005-04-161-0/+2
|
* Patch from Felipe Kellermann, remove some unnecessary dups, i declared a few ↵Glenn L McGrath2004-09-141-3/+3
| | | | extra const's also.
* use SIGTERM to kill off udhcpd, not SIGKILLEric Andersen2004-07-301-1/+4
|
* As noted by Eric Spakman, calling static_down() and then callingEric Andersen2004-07-301-14/+4
| | | | | bootp_down() seems redundant, esp since bootp_down was a subset of static_down, so just use that...
* add missing ;1_00_rc2Eric Andersen2004-07-261-1/+1
|
* bother. unrevert my fix.Eric Andersen2004-07-261-1/+2
|
* Make certain that udhcp shuts down the interfaceEric Andersen2004-07-261-2/+1
|
* oopsEric Andersen2004-07-261-1/+1
|
* Make certain that udhcp shuts down the interfaceEric Andersen2004-07-261-1/+2
|
* Patch from Manousaridis Angelos to bring dhclient down more elegentlyGlenn L McGrath2004-07-231-1/+2
|
* Patch from Mike Snitzer to fix return codes.Glenn L McGrath2004-07-211-13/+29
| | | | | | | | | | | | | | | | | "I have a need to _really_ know if the interface was properly configured via ifup so I made busybox's ifupdown pass the return codes through rather than dropping them on the floor." "All the functions in ifupdown.c return 1 on success and 0 on failure (which happens to the opposite of standard practices but whatever). So it is important for all these functions to not blindly return 1." "The problem with blindly returning ret, even if it is != 1, is the callers expect a 0 or 1 and accumulate the return codes. So a function that makes 3 calls to execute will have a value of 3 accumulated. That value of 1 (success) was almost always returned even if 1 of the commands in the command sequence failed. The attached patch fixes the lack of checking to verify thar result == expected_reult."