smb2: replace magic value by macro

Change-Id: I61326264f6b94b02fa2fcce21c934e41de7b1625
Reviewed-on: https://code.wireshark.org/review/31655
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Aurelien Aptel 2019-01-21 01:58:52 +01:00 committed by Anders Broman
parent 4f46a2af88
commit 6513ded460
1 changed files with 1 additions and 1 deletions

View File

@ -9102,7 +9102,7 @@ dissect_smb2_tid_sesid(packet_info *pinfo _U_, proto_tree *tree, tvbuff_t *tvb,
if (!si->session) {
guint8 seskey[NTLMSSP_KEY_LEN] = {0, };
if (si->opcode != 0x03)
if (si->opcode != SMB2_COM_TREE_CONNECT)
return offset;