summaryrefslogtreecommitdiff
path: root/networking/ifconfig.c
AgeCommit message (Collapse)Author
2005-05-03From: Shaun Jackman <sjackman@gmail.com>Rob Landley
To: busybox@mail.codepoet.org Wrap sockaddr_in6 in a ifdef CONFIG_FEATURE_IPV6. Include sys/types.h instead of asm/types.h. Include netinet/if_ether.h instead of linux/if_ether.h The ioctl request argument is an int, not an unsigned short.
2004-03-31Patch from Thomas Winkler:Eric Andersen
ifconfig did not look up hostnames, so ifconfig lo localhost would not work, you have to do ifconfig lo 127.0.0.1
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-06Fix/eliminate use of atolEric Andersen
2003-11-14Michael Smith writes:Eric Andersen
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.
2003-06-21Fix a silly bug I introduced yesterdayEric Andersen
2003-06-20Fix a couple vars that could be used uninitializedEric Andersen
2003-05-26Vodz, last_patch_86Glenn L McGrath
2003-03-19Major coreutils update.Manuel Novoa III
2003-01-14Eliminate most instances where we use linux kernel headersEric Andersen
-Erik
2002-12-27Add "Broadcast +" support back in. Also cut the size down some. Not wellManuel Novoa III
tested, but it is the holidays...
2002-11-26use #ifdef CONFIG_* instead of #if CONFIG_*Glenn L McGrath
2002-08-22Run through indent, fix commentsGlenn L McGrath
2002-07-11Fixup warnings and undefined operations that show up in gcc-3.1Eric Andersen
-Erik
2002-07-03This patch from Bart Visscher <magick@linux-fan.com> addsEric Andersen
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!
2001-11-10Latest patch from vodz:Eric Andersen
-- 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-10-28Use error_msg() instead of fprintf(stderr, ...)Eric Andersen
2001-10-28Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-08-10This corrects the _really_poor_ implementation of "broadcast +" handlingManuel Novoa III
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).
2001-07-07This patch from Fabio Ferrari <fabio.ferrari@digitro.com.br> enablesEric Andersen
"broadcast +" for deriving the broadcast address automagically.
2001-03-26Fix in_ether bug regarding hex digits reported by Jonas Holmberg ↵Manuel Novoa III
<jonas.holmberg@axis.com>.
2001-03-15Don't confuse people. If the run 'ifconfig' and they didn'tEric Andersen
compile with BB_FEATURE_IFCONFIG_STATUS turned on, it will now print a message telling them as much. -Erik
2001-03-12Reduced code size of interface. Support ifconfig -a and ifconfig interfaceManuel Novoa III
display. Change %llu to %Lu in ifconfig for hacked unsigned long long support in uClibc scanf.
2001-03-10Quick mod to enable option -a for ifconfig.Manuel Novoa III
2001-03-09Use perror_msg_and_die function where appropriate.Manuel Novoa III
2001-03-08Improved port of ifconfig... smaller and with more features.Manuel Novoa III
2001-03-06Add in a first pass at ifconfig status reporting. It took a long whileEric Andersen
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
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
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-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
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-14Add in ifconfig and routeEric Andersen