mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
Revert "libcli/smb: mask off SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET for version 1"
This reverts commit a6affb7bb3ff595165e708c56ede2181f0bb570f. This is not really needed. The caller should ignore this flag. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
82c0ecbb2c
commit
334089c101
@ -48,7 +48,6 @@ ssize_t smb2_lease_pull(const uint8_t *buf, size_t len,
|
||||
switch (version) {
|
||||
case 1:
|
||||
ZERO_STRUCT(lease->parent_lease_key);
|
||||
lease->lease_flags &= ~SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET;
|
||||
lease->lease_epoch = 0;
|
||||
break;
|
||||
case 2:
|
||||
|
Loading…
x
Reference in New Issue
Block a user