From 453c30fcd419eff3dfa8c4b2f6915765970895a8 Mon Sep 17 00:00:00 2001 From: Bernd Eckenfels Date: Tue, 19 Feb 2002 01:12:49 +0000 Subject: [PATCH] inodes in unix domain sockets are now padded to 8chars (netstat -x) --- netstat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netstat.c b/netstat.c index 4d1064e..fe4f620 100644 --- a/netstat.c +++ b/netstat.c @@ -6,7 +6,7 @@ * NET-3 Networking Distribution for the LINUX operating * 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, * Fred N. van Kempen, @@ -1212,9 +1212,9 @@ static void unix_do_one(int nr, const char *line) printf("%-5s %-6ld %-11s %-10s %-13s ", ss_proto, refcnt, ss_flags, ss_type, ss_state); if (has & HAS_INODE) - printf("%-6lu ",inode); + printf("%-8lu ",inode); else - printf("- "); + printf("- "); if (flag_prg) printf("%-" PROGNAME_WIDTHs "s",(has & HAS_INODE?prg_cache_get(inode):"-")); puts(path); -- 2.7.4