diff options
author | Stefan Metzmacher <metze@samba.org> | 2021-04-29 14:26:01 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2021-04-29 14:37:57 +0200 |
commit | 924e16a22a4ae071b326866225b792a28631043b (patch) | |
tree | 774103e5143687697b439364de338512f1659948 | |
parent | 92faecc3f76479046406497081c5fd0fa823f5ff (diff) |
packet-smb-direct: also call payload dissector if tree is NULL
This is needed to get the COL_INFO and COL_PROTOCOL set
from the payload dissector.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | epan/dissectors/packet-smb-direct.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-smb-direct.c b/epan/dissectors/packet-smb-direct.c index fb898e2336..60b8270044 100644 --- a/epan/dissectors/packet-smb-direct.c +++ b/epan/dissectors/packet-smb-direct.c @@ -317,10 +317,6 @@ dissect_smb_direct(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, case SMB_DIRECT_HDR_DATA: col_append_str(pinfo->cinfo, COL_INFO, "DataMessage"); - if (tree == NULL) { - break; - } - rlen = MIN(rlen, 24); item = proto_tree_add_item(tree, hf_smb_direct_data_message, tvb, 0, rlen, ENC_NA); |