From 70011b1da751926ae7e2e5698755937dfb2cd694 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 19 Sep 2012 20:21:04 +0200 Subject: [PATCH] packet-iwarp-mpa: give more information if the ULPDU length doesn't match Try to dissect even it the size is not as expected. Windows doesn't use alignment for smb-direct. Signed-off-by: Stefan Metzmacher --- epan/dissectors/packet-iwarp-mpa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/packet-iwarp-mpa.c b/epan/dissectors/packet-iwarp-mpa.c index af89856bb2..6a283793ce 100644 --- a/epan/dissectors/packet-iwarp-mpa.c +++ b/epan/dissectors/packet-iwarp-mpa.c @@ -722,8 +722,8 @@ dissect_mpa_fpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, if (!exp_ulpdu_length || exp_ulpdu_length != ulpdu_length) { proto_tree_add_expert_format(tree, pinfo, &ei_mpa_bad_length, tvb, offset, MPA_ULPDU_LENGTH_LEN, - "[ULPDU length field does not contain the expected length]"); - return 0; + "[ULPDU length [%u] field does not contain the expected length[%u]]", + exp_ulpdu_length, ulpdu_length); } mpa_item = proto_tree_add_item(tree, proto_iwarp_mpa, tvb, 0, -- 2.34.1