diff options
-rw-r--r-- | epan/dissectors/packet-tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c index c0bc2121ad..2a3c16f97c 100644 --- a/epan/dissectors/packet-tcp.c +++ b/epan/dissectors/packet-tcp.c @@ -4575,7 +4575,7 @@ dissect_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint8 *p_options = (guint8 *)tvb_memdup(wmem_packet_scope(), tvb, offset + 20, bc); tf = proto_tree_add_bytes_format(tcp_tree, hf_tcp_options, tvb, offset + 20, - optlen, p_options, "Options: (%u bytes but truncated to %u bytes)", optlen, bc); + bc, p_options, "Options: (%u bytes but truncated to %u bytes)", optlen, bc); optlen = bc; } else { optlen = 0; |