summaryrefslogtreecommitdiff
path: root/networking/ifconfig.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Thomas Winkler:Eric Andersen2004-03-311-3/+9
| | | | | | | ifconfig did not look up hostnames, so ifconfig lo localhost would not work, you have to do ifconfig lo 127.0.0.1
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-3/+3
|
* Fix/eliminate use of atolEric Andersen2004-03-061-3/+4
|
* Michael Smith writes:Eric Andersen2003-11-141-2/+2
| | | | | | | | | | | | | | | | | | | I noticed a problem with ifconfig in busybox 0.60.5. The matching code seems to exist in busybox CVS as well, so I'll paste in the patch that fixed it. I was running: # ifconfig wan0 1.2.3.4 pointopoint 1.2.3.5 netmask 255.255.255.255 I was seeing the inet addr and P-t-P addr both being set to 1.2.3.5 (the pointopoint address). wan0 Link encap:Point-Point Protocol inet addr:1.2.3.5 P-t-P:1.2.3.5 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 ... The patch below seems to fix it.
* Fix a silly bug I introduced yesterdayEric Andersen2003-06-211-1/+3
|
* Fix a couple vars that could be used uninitializedEric Andersen2003-06-201-1/+3
|
* Vodz, last_patch_86Glenn L McGrath2003-05-261-2/+2
|
* Major coreutils update.Manuel Novoa III2003-03-191-8/+8
|
* Eliminate most instances where we use linux kernel headersEric Andersen2003-01-141-3/+9
| | | | -Erik
* Add "Broadcast +" support back in. Also cut the size down some. Not wellManuel Novoa III2002-12-271-58/+85
| | | | tested, but it is the holidays...
* use #ifdef CONFIG_* instead of #if CONFIG_*Glenn L McGrath2002-11-261-13/+13
|
* Run through indent, fix commentsGlenn L McGrath2002-08-221-86/+91
|
* Fixup warnings and undefined operations that show up in gcc-3.1Eric Andersen2002-07-111-1/+2
| | | | -Erik
* This patch from Bart Visscher <magick@linux-fan.com> addsEric Andersen2002-07-031-1/+66
| | | | | | | | | | | | | | | 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-7/+5
| | | | | | | -- 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
* Use error_msg() instead of fprintf(stderr, ...)Eric Andersen2001-10-281-2/+2
|
* Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen2001-10-281-2/+2
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-15/+15
| | | | -Erik
* This corrects the _really_poor_ implementation of "broadcast +" handlingManuel Novoa III2001-08-101-19/+7
| | | | | | | by ifconfig that someone had submitted. It fixes 1 bug, gets rid of the excessive bloating of a structure that is used in a static const array, and removes the implicit struct copys by keeping only the int type needed. It also turns this into a configurable feature (off by default).
* This patch from Fabio Ferrari <fabio.ferrari@digitro.com.br> enablesEric Andersen2001-07-071-7/+19
| | | | "broadcast +" for deriving the broadcast address automagically.
* Fix in_ether bug regarding hex digits reported by Jonas Holmberg ↵Manuel Novoa III2001-03-261-3/+3
| | | | <jonas.holmberg@axis.com>.
* Don't confuse people. If the run 'ifconfig' and they didn'tEric Andersen2001-03-151-2/+2
| | | | | | compile with BB_FEATURE_IFCONFIG_STATUS turned on, it will now print a message telling them as much. -Erik
* Reduced code size of interface. Support ifconfig -a and ifconfig interfaceManuel Novoa III2001-03-121-15/+18
| | | | | display. Change %llu to %Lu in ifconfig for hacked unsigned long long support in uClibc scanf.
* Quick mod to enable option -a for ifconfig.Manuel Novoa III2001-03-101-8/+14
|
* Use perror_msg_and_die function where appropriate.Manuel Novoa III2001-03-091-3/+2
|
* Improved port of ifconfig... smaller and with more features.Manuel Novoa III2001-03-081-329/+382
|
* Add in a first pass at ifconfig status reporting. It took a long whileEric Andersen2001-03-061-241/+196
| | | | | | | hacking on the mess in net-tools-1.59, but it currently adds 12k and supports ethernet, loop, ppp, and treats everything else as a generic interface. Works ok for me. -Erik
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-3/+3
| | | | | | 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
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-10/+10
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Add in ifconfig and routeEric Andersen2001-02-141-0/+476