git.samba.org
/
metze
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixup: tvb_* -> tvb_captured
[metze/wireshark/wip.git]
/
epan
/
dissectors
/
packet-pathport.c
diff --git
a/epan/dissectors/packet-pathport.c
b/epan/dissectors/packet-pathport.c
index 0e2543973b20ed8f982ee6733aaa2191e50eba3d..a73f437d5495a6f43aa9a80c1e9c67c64edcf676 100644
(file)
--- a/
epan/dissectors/packet-pathport.c
+++ b/
epan/dissectors/packet-pathport.c
@@
-547,7
+547,7
@@
dissect_header(tvbuff_t *tvb, proto_tree *parent, guint offset)
static gboolean
packet_is_pathport(tvbuff_t *tvb)
{
- if(tvb_length(tvb) < PATHPORT_MIN_LENGTH)
+ if(tvb_
captured_
length(tvb) < PATHPORT_MIN_LENGTH)
return FALSE;
if(tvb_get_ntohs(tvb, 0) != PATHPORT_PROTO_MAGIC)