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]
/
plugins
/
irda
/
packet-ircomm.c
diff --git
a/plugins/irda/packet-ircomm.c
b/plugins/irda/packet-ircomm.c
index a2340f42ba2d44185abfbc9af1652d864e437a77..77c81d766a058c685fcbea1f19d0f8b3f3a483b4 100644
(file)
--- a/
plugins/irda/packet-ircomm.c
+++ b/
plugins/irda/packet-ircomm.c
@@
-213,7
+213,7
@@
static void dissect_cooked_ircomm(tvbuff_t* tvb, packet_info* pinfo, proto_tree*
offset += clen;
}
- tvb = tvb_new_subset
(tvb, offset, -1, -1
);
+ tvb = tvb_new_subset
_remaining(tvb, offset
);
call_dissector(data_handle, tvb, pinfo, tree);
}
}