aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-08-22 19:47:15 +0000
committerGuy Harris <guy@alum.mit.edu>2002-08-22 19:47:15 +0000
commit4047c3caeb0754189f4a542678f76c3e31996d0f (patch)
tree38f59a1a934988faf572e9fc1051a33f0e37dcab
parent23029e96e034a948488afd62df70a1c1281405aa (diff)
Properly display the window scale option.
svn path=/trunk/; revision=6065
-rw-r--r--packet-tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-tcp.c b/packet-tcp.c
index bb454adab3..f9a7532790 100644
--- a/packet-tcp.c
+++ b/packet-tcp.c
@@ -1,7 +1,7 @@
/* packet-tcp.c
* Routines for TCP packet disassembly
*
- * $Id: packet-tcp.c,v 1.155 2002/08/22 19:40:03 guy Exp $
+ * $Id: packet-tcp.c,v 1.156 2002/08/22 19:47:15 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1387,7 +1387,7 @@ dissect_tcpopt_wscale(const ip_tcp_opt *optp, tvbuff_t *tvb,
ws = tvb_get_guint8(tvb, offset + 2);
proto_tree_add_text(opt_tree, tvb, offset, optlen,
- "%s: %u bytes", optp->name, ws);
+ "%s: %u (multiply by %u)", optp->name, ws, 1 << ws);
tcp_info_append_uint(pinfo, "WS", ws);
}