Commit 453c30fc authored by Bernd Eckenfels's avatar Bernd Eckenfels

inodes in unix domain sockets are now padded to 8chars (netstat -x)

parent bdb279ba
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* NET-3 Networking Distribution for the LINUX operating * NET-3 Networking Distribution for the LINUX operating
* system. * system.
* *
* Version: $Id: netstat.c,v 1.46 2002/02/19 00:55:35 ecki Exp $ * Version: $Id: netstat.c,v 1.47 2002/02/19 01:12:49 ecki Exp $
* *
* Authors: Fred Baumgarten, <dc6iq@insu1.etec.uni-karlsruhe.de> * Authors: Fred Baumgarten, <dc6iq@insu1.etec.uni-karlsruhe.de>
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> * Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
...@@ -1212,7 +1212,7 @@ static void unix_do_one(int nr, const char *line) ...@@ -1212,7 +1212,7 @@ static void unix_do_one(int nr, const char *line)
printf("%-5s %-6ld %-11s %-10s %-13s ", printf("%-5s %-6ld %-11s %-10s %-13s ",
ss_proto, refcnt, ss_flags, ss_type, ss_state); ss_proto, refcnt, ss_flags, ss_type, ss_state);
if (has & HAS_INODE) if (has & HAS_INODE)
printf("%-6lu ",inode); printf("%-8lu ",inode);
else else
printf("- "); printf("- ");
if (flag_prg) if (flag_prg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment