aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tcp.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@ns.aus.com>2003-03-01 08:57:36 +0000
committerRichard Sharpe <sharpe@ns.aus.com>2003-03-01 08:57:36 +0000
commit7195b02fdf4a31a3a943cb2632b47f1137849e32 (patch)
tree6888a39490d6e7d177e71ab68d37aa081ecc5454 /packet-tcp.c
parent6efccea06641a82b0a7cabde769bc755aa6396e4 (diff)
downloadwireshark-7195b02fdf4a31a3a943cb2632b47f1137849e32.tar.gz
wireshark-7195b02fdf4a31a3a943cb2632b47f1137849e32.tar.bz2
wireshark-7195b02fdf4a31a3a943cb2632b47f1137849e32.zip
Allow filtering on the window scale value ...
svn path=/trunk/; revision=7236
Diffstat (limited to 'packet-tcp.c')
-rw-r--r--packet-tcp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-tcp.c b/packet-tcp.c
index 4656dd1655..b63aa02a1d 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.180 2003/03/01 08:51:12 sharpe Exp $
+ * $Id: packet-tcp.c,v 1.181 2003/03/01 08:57:36 sharpe Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1552,6 +1552,8 @@ dissect_tcpopt_wscale(const ip_tcp_opt *optp, tvbuff_t *tvb,
ws = tvb_get_guint8(tvb, offset + 2);
proto_tree_add_boolean_hidden(opt_tree, hf_tcp_option_wscale, tvb,
offset, optlen, TRUE);
+ proto_tree_add_uint_hidden(opt_tree, hf_tcp_option_wscale_val, tvb,
+ offset, optlen, ws);
proto_tree_add_text(opt_tree, tvb, offset, optlen,
"%s: %u (multiply by %u)", optp->name, ws, 1 << ws);
tcp_info_append_uint(pinfo, "WS", ws);