summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/smb_server/smb2/keepalive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb2/keepalive.c b/source4/smb_server/smb2/keepalive.c
index d1a0ef3d72..ff47d594f0 100644
--- a/source4/smb_server/smb2/keepalive.c
+++ b/source4/smb_server/smb2/keepalive.c
@@ -55,7 +55,7 @@ void smb2srv_keepalive_recv(struct smb2srv_request *req)
uint16_t _pad;
if (req->in.body_size != 0x04) {
- smb2srv_send_error(req, NT_STATUS_FOOBAR);
+ smb2srv_send_error(req, NT_STATUS_INVALID_PARAMETER);
return;
}