diff options
Diffstat (limited to 'epan/dissectors/packet-tpkt.c')
-rw-r--r-- | epan/dissectors/packet-tpkt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tpkt.c b/epan/dissectors/packet-tpkt.c index 456a576c63..6f97872aa7 100644 --- a/epan/dissectors/packet-tpkt.c +++ b/epan/dissectors/packet-tpkt.c @@ -498,12 +498,12 @@ dissect_tpkt_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, /* Version */ proto_tree_add_item(tpkt_tree, hf_tpkt_version, tvb, - offset, 1, FALSE); + offset, 1, ENC_BIG_ENDIAN); proto_item_append_text(ti, ", Version: 3"); /* Reserved octet*/ proto_tree_add_item(tpkt_tree, hf_tpkt_reserved, tvb, - offset + 1, 1, FALSE); + offset + 1, 1, ENC_BIG_ENDIAN); /* Length */ proto_tree_add_uint(tpkt_tree, hf_tpkt_length, tvb, |