Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
net-tools
Commits
453c30fc
Commit
453c30fc
authored
Feb 19, 2002
by
Bernd Eckenfels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inodes in unix domain sockets are now padded to 8chars (netstat -x)
parent
bdb279ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
netstat.c
netstat.c
+3
-3
No files found.
netstat.c
View file @
453c30fc
...
@@ -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.4
6 2002/02/19 00:55:35
ecki Exp $
* Version: $Id: netstat.c,v 1.4
7 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
(
"%-
6
lu "
,
inode
);
printf
(
"%-
8
lu "
,
inode
);
else
else
printf
(
"- "
);
printf
(
"- "
);
if
(
flag_prg
)
if
(
flag_prg
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment