[CRIU] [PATCH] sk-tcp: show rcv_wscale only if TCPI_OPT_WSCALE is set
Andrey Vagin
avagin at openvz.org
Tue Apr 2 16:06:27 EDT 2013
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
sk-tcp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sk-tcp.c b/sk-tcp.c
index 9207a86..667a05e 100644
--- a/sk-tcp.c
+++ b/sk-tcp.c
@@ -631,9 +631,10 @@ void show_tcp_stream(int fd, struct cr_options *opt)
pr_msg("OUT: seq %10u len %10u\n", tse->outq_seq, tse->outq_len);
pr_msg("OPTS: %#x\n", (int)tse->opt_mask);
pr_msg("\tmss_clamp %u\n", (int)tse->mss_clamp);
- if (tse->opt_mask & TCPI_OPT_WSCALE)
+ if (tse->opt_mask & TCPI_OPT_WSCALE) {
pr_msg("\tsnd wscale %u\n", (int)tse->snd_wscale);
pr_msg("\trcv wscale %u\n", (int)tse->rcv_wscale);
+ }
if (tse->opt_mask & TCPI_OPT_TIMESTAMPS)
pr_msg("\ttimestamps\n");
if (tse->opt_mask & TCPI_OPT_SACK)
--
1.7.11.7
More information about the CRIU
mailing list