Skip to content

Commit 5793ccc

Browse files
committed
Fix logic bug where a connection would have been created if there is a timeout
1 parent 19ed5d3 commit 5793ccc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/smb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ def create_conn_obj(self, no_smbv1=False):
605605
# Fallback if SMBv1 fails
606606
return self.create_smbv3_conn()
607607
else:
608-
return True
608+
return False
609609
elif self.smbv3 is not False:
610610
if not self.create_smbv3_conn():
611611
# Fallback if SMBv3 fails

0 commit comments

Comments
 (0)