]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: use SMB2_INFO_SPECIAL in call_trans2qfilepathinfo()
authorRalph Boehme <slow@samba.org>
Mon, 26 Oct 2020 16:57:00 +0000 (17:57 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 19 Nov 2020 20:00:38 +0000 (20:00 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/trans2.c

index bf06175227bbaf6e43e9a446c0b5100aa338c4ef..ae790e10705932fee6ded3116b4e4ef0ea6ced32 100644 (file)
@@ -6387,7 +6387,7 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd
                break;
        }
 
-       if ((info_level & 0xFF00) == 0xFF00) {
+       if ((info_level & SMB2_INFO_SPECIAL) == SMB2_INFO_SPECIAL) {
                /*
                 * We use levels that start with 0xFF00
                 * internally to represent SMB2 specific levels