diff options
Diffstat (limited to 'epan/dissectors/packet-3com-xns.c')
-rw-r--r-- | epan/dissectors/packet-3com-xns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-3com-xns.c b/epan/dissectors/packet-3com-xns.c index a105b19244..d758476648 100644 --- a/epan/dissectors/packet-3com-xns.c +++ b/epan/dissectors/packet-3com-xns.c @@ -79,7 +79,7 @@ dissect_3com_xns(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } type = tvb_get_ntohs(tvb, 0); - next_tvb = tvb_new_subset(tvb, 2, -1, -1); + next_tvb = tvb_new_subset_remaining(tvb, 2); if (type == 0x0004) { proto_tree_add_uint(subtree, hf_3com_xns_type_retix_bpdu, tvb, 0, 2, type); |