summaryrefslogtreecommitdiff
path: root/libbb/interface.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix for compiling with ipv6Glenn L McGrath2003-08-291-8/+8
|
* Save 0.5K.Manuel Novoa III2003-08-021-129/+154
|
* James Petterson writes:Eric Andersen2003-07-281-2/+2
| | | | | | | | | | | | | | | | | | I've found a possible bug in libbb/interface.c, in function if_readlist_proc(). This function calls get_name(), and passes as an argument 'name', a buffer of 16 bytes (IFNAMSIZ). The function get_name(), however, may use more than 16 bytes, when it is searching for aliases. Even if you don't have an alias interface, you can run into trouble if the interface has received more than 99999999 bytes, in which case the space between the interface name and the rx stats disappears, as in the /proc/net/dev example below: wan0.200:264573315 462080 ... In this case get_name() correctly identifies the interface name as "wan0.200", but to do that it uses 18 bytes of the 'name' buffer, which could lead to an unpredictable error. A simple solution would be to increase the size of the buffer:
* Remove remaining libc5 support codeEric Andersen2003-07-221-5/+2
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-2/+2
|
* Major coreutils update.Manuel Novoa III2003-03-191-15/+15
|
* Fix compiler warnings, patch by Steven ScholzGlenn L McGrath2003-02-091-3/+3
|
* Eliminate most instances where we use linux kernel headersEric Andersen2003-01-141-2/+7
| | | | -Erik
* Use error_msg instead of fprintf(stderr, other minor cleanupsGlenn L McGrath2002-11-281-27/+19
|
* use #ifdef CONFIG_* instead of #if CONFIG_*Glenn L McGrath2002-11-261-4/+5
|
* Use "MiB" not "Mb"Eric Andersen2002-09-171-2/+2
| | | | -Erik
* Remove duplicate definitions, run through indentGlenn L McGrath2002-08-221-1292/+1279
|
* This patch from Bart Visscher <magick@linux-fan.com> addsEric Andersen2002-07-031-5/+96
| | | | | | | | | | | | | | | 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!
* Latest patch from vodz:Eric Andersen2001-11-101-190/+7
| | | | | | | -- 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
* Be extra pedantic about printing the correct type for an addressEric Andersen2001-10-271-2/+2
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-12/+13
| | | | -Erik
* Some adjustments, mostly from David McCullough <davidm@lineo.com> toEric Andersen2001-07-191-2/+5
| | | | | | | make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik
* Vladimir's last_patch13, containing several bugfixes.Eric Andersen2001-06-011-4/+41
|
* include libbb.h after other includesGlenn L McGrath2001-05-051-3/+2
|
* This has two patches. First it moves interface.c to libbb (it isEric Andersen2001-04-191-0/+2129
support code after all). It also contains a patch from Larry Doolittle that removes two instances of "strlen([^)]*) *- *1", un-shadows two variables, relaxes requirement for a sprintf(3) that returns number of bytes written, and eliminates a duplicate subroutine.