forked from osmocom/wireshark
SMB: Fix DialectIndex handling
According to https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-cifs/a4229e1a-8a4e-489a-a2eb-11b7f360e60c 0xFFFF is for server does not support any of the listed dialects. Bug: 16320 Change-Id: I17184e2a1ee8307936d934323bf8d0c9348eac2a Reviewed-on: https://code.wireshark.org/review/35841 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
fde8f715ed
commit
eb1e379948
|
@ -2920,7 +2920,7 @@ dissect_negprot_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, in
|
|||
*/
|
||||
proto_tree_add_uint_format_value(tree, hf_smb_dialect_index,
|
||||
tvb, offset, 2, dialect,
|
||||
"-1, PC NETWORK PROGRAM 1.0 chosen");
|
||||
"-1, server does not support any of the listed dialects");
|
||||
} else {
|
||||
/*
|
||||
* A dialect was selected; this should be
|
||||
|
|
Loading…
Reference in New Issue