Hello Olaf, On Sun, Mar 12, 2006 at 08:38:30PM +0100, Olaf van der Spek wrote: > What is the status of this bug? > Do you mind if an NMU is done to fix this issue?
You dont need to NMU that, since net-tools is maintained. The bug in question is a bit of a problem, since i suspect there are scripts out there who rely on user field starting at column 80. Thats why I want to fix this bug together with a new script-optimized output format (which has an unformatted, single space delimited flow format). That way the scripts can be converted to use the lossless, easy to parse format. I think a better patch would be the following: Gruss Bernd -- (OO) -- [EMAIL PROTECTED] -- ( .. ) [EMAIL PROTECTED],linux.de,debian.org} http://www.eckes.org/ o--o 1024D/E383CD7E [EMAIL PROTECTED] v:+497211603874 f:+49721151516129 (O____O) When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
--- netstat.c~ 2006-03-13 20:44:43.453826750 +0100 +++ netstat.c 2006-03-13 20:44:43.453826750 +0100 @@ -531,9 +531,9 @@ if (flag_exp > 1) { if (!(flag_not & FLAG_NUM_USER) && ((pw = getpwuid(uid)) != NULL)) - printf("%-10s ", pw->pw_name); + printf(" %-10s ", pw->pw_name); else - printf("%-10d ", uid); + printf(" %-10d ", uid); printf("%-10lu ",inode); } if (flag_prg)