Denis Vlasenko
7ca3921e5e
bb_INET_default[] is really just a const "default",
...
nothing INET-specific
2006-11-21 20:34:21 +00:00
Denis Vlasenko
f0ed376eda
remove bb_printf and the like
2006-10-26 23:21:47 +00:00
Denis Vlasenko
1385899416
attempt to regularize atoi mess.
2006-10-08 12:49:22 +00:00
Denis Vlasenko
67b23e6043
getopt_ulflags -> getopt32.
...
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-03 21:00:06 +00:00
Rob Landley
d921b2ecc0
Remove bb_ prefixes from xfuncs.c (and a few other places), consolidate
...
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-08-03 15:41:12 +00:00
"Robert P. J. Day"
d35ef0f666
More removal of "#if 0" content.
2006-07-01 14:59:54 +00:00
Mike Frysinger
e135a5d746
fix no previous prototype warning
2006-05-11 02:36:51 +00:00
Bernhard Reutner-Fischer
dac7ff15b7
- patch from Denis Vlasenko to add and use bb_xsocket() and to use
...
bb_xopen some more while at it.
Also use shorter boilerplate while at it.
2006-04-12 17:55:51 +00:00
Eric Andersen
0cb6f35c33
fix up annoying signed/unsigned and mixed type errors
2006-01-30 22:30:41 +00:00
"Vladimir N. Oleynik"
5775aa2ef6
added support /prefix for IPV4 form IPV6 code. Close bug 461
2006-01-25 16:17:58 +00:00
Tim Riker
c1ef7bdd8d
just whitespace
2006-01-25 00:08:53 +00:00
"Vladimir N. Oleynik"
007a011647
network "default" --> bb_INET_default. Reduce 2 exported from find applet
2005-09-22 11:11:11 +00:00
Rob Landley
6417564eeb
Two FEATURE_CLEAN_UP patches from Shaun Jackman, closing filehandles.
2005-08-22 15:57:50 +00:00
Eric Andersen
14f5c8d764
Patch from Bernhard Fischer to make a bunch of symbols static
...
which were otherwise cluttering the global namespace.
2005-04-16 19:39:00 +00:00
Manuel Novoa III
539fa95e0d
Oops.. got a bit to aggressive with size optimization and global replace. :-(
2004-03-19 23:27:08 +00:00
Eric Andersen
c7bda1ce65
Remove trailing whitespace. Update copyright to include 2004.
2004-03-15 08:29:22 +00:00
Manuel Novoa III
7d0c51919c
In spite of the feature freeze, check in a complete rework of route which
...
fixes some bugs, adds some error checking, and removes _lots_ of bloat.
Text size on i386...
old new
ipv6 5425 3523
no ipv6 3143 2193
2004-03-10 07:42:38 +00:00
Eric Andersen
2479445562
Fix/eliminate use of atol
2004-03-06 22:11:45 +00:00
Manuel Novoa III
cad5364599
Major coreutils update.
2003-03-19 09:13:01 +00:00
Robert Griebl
be2ae246fb
Always print the routing table header for IPv4:
...
- this is consistent with IPv6 route
- you can get very confused, if there are no routes and "route" prints
nothing at all (not even "No routes" message)
2002-12-16 22:04:18 +00:00
Eric Andersen
0552b9a7ff
Eliminate dependancy on kernel header files. Naughty naughty.
...
Using linux kernel headers is a Bad Thing(tm) and should be
punished.
-Erik
2002-12-11 03:57:12 +00:00
Glenn L McGrath
8ae4cab4a8
use #ifdef CONFIG_* instead of #if CONFIG_*
2002-11-26 09:02:06 +00:00
Glenn L McGrath
7c58e9be69
Run through indent, fix comment
2002-08-22 18:24:43 +00:00
Eric Andersen
51b8bd68bb
This patch from Bart Visscher <magick@linux-fan.com> adds
...
IPV6 support to busybox. This patch does the following:
* Add IPv6 support to libbb
* Enable IPv6 interface address display
* Add IPv6 config option
* Adds ping6, an adaptation of the ping applet for IPv6
* Adds support routines for ping6:
- xgethostbyname2
- create_icmp6_socket
* Adds ifconfig support for IPv6
* Add support IPv6 to netstat
* Add IPv6 support to route
Thanks Bart!
2002-07-03 11:46:38 +00:00
Robert Griebl
c30c5e89cf
Reduced code size for new -e flag (suggested by vodz)
2002-05-16 19:14:15 +00:00
Robert Griebl
820098fd61
This patch adds -e (extended information) to route and -r/-e (show routing
...
tables/extended information) to netstat.
This makes them behave (more) like their GNU counterparts.
2002-05-14 23:03:23 +00:00
Eric Andersen
cd8c436d81
Latest patch from vodz:
...
-- reverse resolve network name and cache in route and ifconfig
applets, fix print nslookup server name if compile without
uClibc, fix route crashe 'route add', fix warnings compile
networking and pwd_grp applets
2001-11-10 11:22:46 +00:00
Eric Andersen
b9408504f5
Another fix from vodz
2001-09-05 19:32:00 +00:00
Eric Andersen
863a3e15d6
patch from vodz -- route cleanup to display all route entries
2001-08-27 17:57:27 +00:00
Eric Andersen
a3c8481a33
A patch from Jaspreet Singh <jsingh@somanetworks.com>
...
fixing both a segfault and cosmetic bug in route
2001-08-23 22:05:33 +00:00
Eric Andersen
1ca20a7747
A nice patch from Larry Doolittle that adds -Wshadow and
...
cleans up most of the now-revealed problems.
2001-03-21 07:34:27 +00:00
Eric Andersen
3e6ff9017f
A cleanup patch from Jeff Garzik to static-ify a number of
...
namespace polluting things that really should be static.
2001-03-09 21:24:12 +00:00
Eric Andersen
26d53eb197
This patch by Vladimir and Larry saves a few bytes.
2001-03-07 06:33:01 +00:00
Eric Andersen
cbe31dace5
It turns out that DODMALLOC was broken when I reorganized busybox.h
...
header file usage before the 0.49 release. To fix it, I had to move
the '#include "busybox.h"' to the end of the list of #include files.
-Erik
2001-02-20 06:14:08 +00:00
Eric Andersen
f1bbb22dca
A small cleanup by Vladimir
2001-02-18 20:12:25 +00:00
Mark Whitley
825ae5a166
Another small formatting change from Larry Doolittle.
2001-02-15 23:31:40 +00:00
Mark Whitley
99806ad2bd
Applied patch from Larry Doolittle that does the following:
...
- style changes
- It actually returns the code computed by INET_setroute (wasn't being done
properly before)
- The displayroute() format string now matches net-tools
2001-02-15 23:00:48 +00:00
Eric Andersen
67991cf824
This patch, put together by Manuel Novoa III, is a merge of work
...
done by Evin Robertson (bug#1105) and work from Manuel to make
usage messages occupy less space and simplify how usage messages
are displayed.
2001-02-14 21:23:06 +00:00
Eric Andersen
68be2ab914
implemented displayroute() based on a patch from Vladimir N. Oleynik,
...
so now route behaves as expected w/o any arguments.
2001-02-14 19:26:39 +00:00
Eric Andersen
ec45595300
Add in ifconfig and route
2001-02-14 08:11:27 +00:00