summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/async_smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index 79999b5654..c8d010a3fe 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -759,7 +759,7 @@ static void handle_incoming_pdu(struct cli_state *cli)
}
if ((IVAL(pdu, 4) != 0x424d53ff) /* 0xFF"SMB" */
- && (IVAL(pdu, 4) != 0x424d45ff)) /* 0xFF"EMB" */ {
+ && (SVAL(pdu, 4) != 0x45ff)) /* 0xFF"E" */ {
DEBUG(10, ("Got non-SMB PDU\n"));
status = NT_STATUS_INVALID_NETWORK_RESPONSE;
goto invalidate_requests;