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
3e179eba
Commit
3e179eba
authored
Oct 02, 2008
by
Bernd Eckenfels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow netstat to print Rcv/Snd-Q for TCP_LISTEN (containing accept
backlog)
parent
7ac5bd2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
netstat.c
netstat.c
+1
-7
No files found.
netstat.c
View file @
3e179eba
...
...
@@ -6,7 +6,7 @@
* NET-3 Networking Distribution for the LINUX operating
* system.
*
* Version: $Id: netstat.c,v 1.5
5 2007/12/01 19:00:40
ecki Exp $
* Version: $Id: netstat.c,v 1.5
6 2008/10/02 22:05:54
ecki Exp $
*
* Authors: Fred Baumgarten, <dc6iq@insu1.etec.uni-karlsruhe.de>
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
...
...
@@ -765,12 +765,6 @@ static void tcp_do_one(int lnr, const char *line)
((
struct
sockaddr
*
)
&
localaddr
)
->
sa_family
);
return
;
}
if
(
state
==
TCP_LISTEN
)
{
time_len
=
0
;
retr
=
0L
;
rxq
=
0L
;
txq
=
0L
;
}
safe_strncpy
(
local_addr
,
ap
->
sprint
((
struct
sockaddr
*
)
&
localaddr
,
flag_not
),
sizeof
(
local_addr
));
safe_strncpy
(
rem_addr
,
ap
->
sprint
((
struct
sockaddr
*
)
&
remaddr
,
flag_not
),
...
...
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