Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-03 | Promote netsat, and move ifconfig, netcat, and rfkill to new toys/net directory. | Rob Landley | |
2016-07-03 | More netstat cleanup (inline display_data) | Rob Landley | |
2016-07-02 | Next round of netstat cleanup. | Rob Landley | |
2016-06-19 | Next round of diffstat cleanup. | Rob Landley | |
2016-06-12 | Lots of netstat cleanup, including a rewrite of the unix domain socket output. | Rob Landley | |
(Ubuntu's netstat is left justifying the inode field, and they're wrong.) | |||
2016-06-10 | Missing parentheses. (Oops.) | Rob Landley | |
2016-06-10 | Fix trailing whitespace bug in netstat. | Elliott Hughes | |
Spotted while trying to diff netstat -nt against toybox netstat -nt. | |||
2016-06-10 | xreadlink() only exits for memory allocation, it returns 0 if file not found. | Rob Landley | |
(I forget who reported this bug, wasn't me.) | |||
2016-04-08 | Redefining basename_r to mean something random seems popular (bionic and freebsd | Rob Landley | |
both did it) so use getbasename instead. | |||
2016-01-21 | I cleaned up the code in 'netstat.c' as belows. | Lipi Lee | |
- Adjust to 80 columns - remove a useless function(strchr_nul), variable, type casting and compile warnings(fgets) - clean up netstat command option condition - change useless double pointer to single point and dynamic memory allocation to static one - fix a ambiguous return type and typo | |||
2015-10-25 | Fix netstat build warnings. | Elliott Hughes | |
Fixes two instances of "warning: use of logical '&&' with constant operand". Change-Id: I2bb1ba4e389f8a9e54af8ee3ab23d8849fc329f0 | |||
2015-09-08 | Fix netstat -e. | Elliott Hughes | |
The -e flag should add "user" and "inode" columns to the TCP output. Also truncate IP addresses in non-wide (no -W) mode. This also removes a bit more of the duplication, though there's still plenty left in this file! | |||
2015-09-08 | Fix netstat -p. | Elliott Hughes | |
netstat -p was failing for any cmdline longer than 21 characters. (A typical Chrome render process has about half a kilobyte of cmdline.) There's still a lot of cleanup to be done later, but this is enough to fix -p and remove a fair amount of unnecessary custom code into the bargain. | |||
2015-09-08 | increase the size of progname to avoid buffer overflow | Lipi Lee | |
2015-01-01 | Switch a lot of strncpy() calls to xstrncpy(). | Rob Landley | |
2014-09-18 | A few fixes for issues reported in static analysis. | Ashwini Sharma | |
2014-01-16 | Rename xmsprintf() to just xmprintf(). | Rob Landley | |
Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in. | |||
2013-11-02 | Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config ↵ | Rob Landley | |
options isn't very interesting anymore. | |||
2013-09-03 | Remove itoa/utoa, let libc do this with sprintf. | Rob Landley | |
2013-08-11 | Ashwini Sharma said that Kyungwan Han should be in the contact info for the ↵ | Rob Landley | |
commands he sent recently. | |||
2013-07-25 | netstat by Ranjan Kumar. | Rob Landley | |