aboutsummaryrefslogtreecommitdiff
path: root/toys/other/ifconfig.c
AgeCommit message (Collapse)Author
2016-01-05Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable formatRob Landley
checking, and fix up format checking complaints. Added out(type, value) function to stat to avoid a zillion printf typecasts.
2015-09-11Replace toys.exithelp with help_exit() in lib.Rob Landley
2015-07-10ifconfig MAC addresses should be lowercase.Elliott Hughes
A minor nit, but for some reason this really stands out every time I run ifconfig...
2015-04-04To ensure that toybox can be installed alongside busybox withoutPaul Barker
confusing update-alternatives, the paths of the links installed by toybox should match those installed by busybox. This is accomplished by changing the flags of a few tools within toybox.
2015-03-01Patches from Elliott Hughes to fix various printf() format strings.Rob Landley
(Don't specify the space flag when it's the default behavior. The ifconfig stuff was actual bugs.)
2015-02-08For some reason, ifconfig was explicitly excluding "ifconfig lo:0 127.0.0.2" ↵Rob Landley
style alias address assignments. No idea why.
2014-10-09Various bugfixes (mostly resource leaks) from Ashwini Sharma's static ↵Rob Landley
analysis, plus occasional tweak by me while reviewing them.
2014-08-12Patches to commands for issues reported from static analysis tool.Ashwini Sharma
portability.h.patch - it is for O_CLOEXEC, as compiler complained of it. Makefile.patch - for cleaning generated/*.o files and libopts.dat file [Fixup to uniq.c from Rob.]
2014-04-13An issue in ifconfig while verifying the HW Address, which is assumed to be ↵Ashwini sharma
of the format __C2:79:38:95:CD:AB__ but can be of form __C2:79:38:95:D:A__. In this case the HW address is reported as bad.
2014-04-02In ifconfig.c, there is a glitch in function get_addrinfo() when computing ↵Ashwini Sharma
the prefix length.
2014-02-28Fix two bugs reported by Ashwini Sharma.Rob Landley
2014-02-16Various cleanups found by Tom Sparrow's static analysis.Rob Landley
2014-02-04Add /prefix netmask support to ifconfig, ala "ifconfig eth0 192.168.1.42/28"Rob Landley
2013-12-22Ashwini sharma pointed out that show_help() doesn't exit so "ifconfig eth0 ↵Rob Landley
netmask" would segfault. Replace it with an error_exit(), see list for aesthetic issue this raises re: help text.
2013-11-30Cleanup help text, remove dead fields unused by linux kernel.Rob Landley
2013-11-28Promote ifconfig from pending to other.Rob Landley