diff options
Diffstat (limited to 'epan/dissectors/packet-adwin.c')
-rw-r--r-- | epan/dissectors/packet-adwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-adwin.c b/epan/dissectors/packet-adwin.c index 194d8eb44b..7bb06b3429 100644 --- a/epan/dissectors/packet-adwin.c +++ b/epan/dissectors/packet-adwin.c @@ -439,7 +439,7 @@ static const value_string packet_type_mapping[] = { static value_string_ext packet_type_mapping_ext = VALUE_STRING_EXT_INIT(packet_type_mapping); #define SET_PACKET_TYPE(tree, type) \ - proto_tree_add_int(tree, hf_adwin_packet_type, tvb, 0, tvb_length(tvb), type); + proto_tree_add_int(tree, hf_adwin_packet_type, tvb, 0, tvb_captured_length(tvb), type); /* Initialize the protocol and registered fields */ |