diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2016-05-01 18:23:52 +0200 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2016-05-01 16:25:01 +0000 |
commit | 66d019959bc0a0bbcf51843685aacda035cc9ed3 (patch) | |
tree | 47a7a9045d4b185bb634f3b683d558778deeb381 /epan/dissectors/packet-zvt.c | |
parent | 7013418e5536fb1dc76fa7048474ccb1e2a4e55d (diff) |
zvt: return -1 if we need more data from tcp
0 means that the dissector rejected the packet.
Change-Id: I9e04443a5f378198f94038e0e67b2e1fde8054be
Reviewed-on: https://code.wireshark.org/review/15210
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-zvt.c')
-rw-r--r-- | epan/dissectors/packet-zvt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-zvt.c b/epan/dissectors/packet-zvt.c index 8a6077343f..80dc429601 100644 --- a/epan/dissectors/packet-zvt.c +++ b/epan/dissectors/packet-zvt.c @@ -747,6 +747,7 @@ dissect_zvt_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data if (pinfo->can_desegment) { pinfo->desegment_offset = offset; pinfo->desegment_len = DESEGMENT_ONE_MORE_SEGMENT; + return -1; } return zvt_len; } |