Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
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
iproute2
Commits
11ba90fc
Commit
11ba90fc
authored
Feb 13, 2015
by
Vadim Kochan
Committed by
Stephen Hemminger
Feb 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ss: Fixed wrong tcp ato value from netlink
Signed-off-by:
Vadim Kochan
<
vadim4j@gmail.com
>
parent
b217df10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
misc/ss.c
misc/ss.c
+1
-1
No files found.
misc/ss.c
View file @
11ba90fc
...
@@ -1906,7 +1906,7 @@ static void tcp_show_info(const struct nlmsghdr *nlh, struct inet_diag_msg *r,
...
@@ -1906,7 +1906,7 @@ static void tcp_show_info(const struct nlmsghdr *nlh, struct inet_diag_msg *r,
s
.
backoff
=
info
->
tcpi_backoff
;
s
.
backoff
=
info
->
tcpi_backoff
;
s
.
rtt
=
(
double
)
info
->
tcpi_rtt
/
1000
;
s
.
rtt
=
(
double
)
info
->
tcpi_rtt
/
1000
;
s
.
rttvar
=
(
double
)
info
->
tcpi_rttvar
/
1000
;
s
.
rttvar
=
(
double
)
info
->
tcpi_rttvar
/
1000
;
s
.
ato
=
(
double
)
info
->
tcpi_
rttvar
/
1000
;
s
.
ato
=
(
double
)
info
->
tcpi_
ato
/
1000
;
s
.
mss
=
info
->
tcpi_snd_mss
;
s
.
mss
=
info
->
tcpi_snd_mss
;
s
.
rcv_space
=
info
->
tcpi_rcv_space
;
s
.
rcv_space
=
info
->
tcpi_rcv_space
;
s
.
rcv_rtt
=
(
double
)
info
->
tcpi_rcv_rtt
/
1000
;
s
.
rcv_rtt
=
(
double
)
info
->
tcpi_rcv_rtt
/
1000
;
...
...
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