summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-11-26 11:06:16 +0100
committerStefan Metzmacher <metze@samba.org>2014-11-27 16:45:05 +0100
commit334089c1015ca35ee37d4c9bf5da455e72c3e86e (patch)
treee43c1f074174fd0035e2e4e47276151decda27d6 /libcli
parent82c0ecbb2c45b9a38792ef9e5428522abc3dc71e (diff)
downloadsamba-334089c1015ca35ee37d4c9bf5da455e72c3e86e.tar.gz
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>
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smb2_lease.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcli/smb/smb2_lease.c b/libcli/smb/smb2_lease.c
index 770525683d5..fc641ff7c99 100644
--- a/libcli/smb/smb2_lease.c
+++ b/libcli/smb/smb2_lease.c
@@ -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: