busybox/networking
Glenn L McGrath 0177ce1256 Patch from Mike Snitzer to fix return codes.
"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."
2004-07-21 23:56:31 +00:00
..
libiproute Steve Grubb writes: 2004-05-05 07:05:32 +00:00
udhcp use busybox sysinfo struct 2004-05-19 09:18:04 +00:00
arping.c Patch by Fillod Stephane, declare variables as static to not clobber 2003-09-26 00:33:18 +00:00
Config.in Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
ftpgetput.c Fix size command, safe_strtoul gives and error if the \r is left in, the 2004-05-04 10:43:34 +00:00
hostname.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
httpd.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
ifconfig.c Patch from Thomas Winkler: 2004-03-31 11:30:08 +00:00
ifupdown.c Patch from Mike Snitzer to fix return codes. 2004-07-21 23:56:31 +00:00
inetd.c Robin Farine writes: 2004-06-22 08:40:54 +00:00
ip.c Fix compile error if CONFIG_FEATURE_IP_ADDR isnt enabled 2004-04-12 02:35:44 +00:00
ipaddr.c Enable ip commands to be compiled seperate from ip, modifed patch from Bastian Blank 2002-12-01 23:04:06 +00:00
ipcalc.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
iplink.c Enable ip commands to be compiled seperate from ip, modifed patch from Bastian Blank 2002-12-01 23:04:06 +00:00
iproute.c Enable ip commands to be compiled seperate from ip, modifed patch from Bastian Blank 2002-12-01 23:04:06 +00:00
iptunnel.c Enable ip commands to be compiled seperate from ip, modifed patch from Bastian Blank 2002-12-01 23:04:06 +00:00
Makefile Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
Makefile.in Fix indenting 2004-04-06 16:56:00 +00:00
nameif.c Update my email address, document some of my tasks in the AUTHORS file 2004-04-25 05:11:19 +00:00
nc.c s/fileno\(stdin\)/STDIN_FILENO/g 2004-03-27 10:02:48 +00:00
netstat.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
nslookup.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
ping6.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
ping.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
route.c Oops.. got a bit to aggressive with size optimization and global replace. :-( 2004-03-19 23:27:08 +00:00
telnet.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
telnetd.c Patch from Bastian Blank: 2004-06-22 10:07:17 +00:00
tftp.c Robin Farine writes: 2004-06-22 10:18:30 +00:00
traceroute.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
vconfig.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
wget.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00