ss: dctcp changes

Missing space before dctcp: markers.

With dctcp, cwnd=2 is pretty common, just display cwnd value even
if cwnd has this value, it makes parsing easier.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
Eric Dumazet 2015-05-08 13:28:40 -07:00 committed by Stephen Hemminger
parent 656e8fdd2d
commit 3bf5445c5e
1 changed files with 3 additions and 3 deletions

View File

@ -1684,7 +1684,7 @@ static void tcp_stats_print(struct tcpstat *s)
if (s->mss) if (s->mss)
printf(" mss:%d", s->mss); printf(" mss:%d", s->mss);
if (s->cwnd && s->cwnd != 2) if (s->cwnd)
printf(" cwnd:%d", s->cwnd); printf(" cwnd:%d", s->cwnd);
if (s->ssthresh) if (s->ssthresh)
printf(" ssthresh:%d", s->ssthresh); printf(" ssthresh:%d", s->ssthresh);