From: wmeier Date: Sun, 24 Jul 2011 21:03:01 +0000 (+0000) Subject: Fix a benign bug in the patch from Bug #5795. X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=commitdiff_plain;h=a04b15dfed8535666d12ec83934c2fb891bfcf51;ds=sidebyside Fix a benign bug in the patch from Bug #5795. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5795 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38192 f5534014-38df-0310-8fa8-9805f1628bb7 --- diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c index b302d8d07d..f67e1753a9 100644 --- a/epan/dissectors/packet-tcp.c +++ b/epan/dissectors/packet-tcp.c @@ -2307,7 +2307,7 @@ dissect_tcpopt_mss(const ip_tcp_opt *optp, tvbuff_t *tvb, exp_tree = proto_item_add_subtree(item, ett_tcp_option_mss); proto_tree_add_item(exp_tree, hf_tcp_option_kind, tvb, offset, 1, FALSE); proto_tree_add_item(exp_tree, hf_tcp_option_len, tvb, offset + 1, 1, FALSE); - proto_tree_add_item(exp_tree, hf_tcp_option_mss_val, tvb, offset + 2, 2, ENC_NA); + proto_tree_add_item(exp_tree, hf_tcp_option_mss_val, tvb, offset + 2, 2, FALSE); tcp_info_append_uint(pinfo, "MSS", mss); }