git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switch a bunch of dissectors over to using tvb_new_subset_remaining()
[obnox/wireshark/wip.git]
/
epan
/
dissectors
/
packet-dcp-etsi.c
diff --git
a/epan/dissectors/packet-dcp-etsi.c
b/epan/dissectors/packet-dcp-etsi.c
index 7cfec3a7e5c59c549f9bee9c3df4654f1d8b74b5..28d46c141193c46f96167ac9ea8da02308fa16fc 100644
(file)
--- a/
epan/dissectors/packet-dcp-etsi.c
+++ b/
epan/dissectors/packet-dcp-etsi.c
@@
-523,7
+523,7
@@
dissect_pft(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
);
pinfo->fragmented = save_fragmented;
} else {
- next_tvb = tvb_new_subset
(tvb, offset, -1, -1
);
+ next_tvb = tvb_new_subset
_remaining (tvb, offset
);
}
if(next_tvb) {
dissect_af(next_tvb, pinfo, tree);