summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-09-24 08:58:16 -0700
committerAndrew Tridgell <tridge@samba.org>2008-09-24 18:10:22 -0700
commit71ae732669d641cf8b3fd7f6fa73ead4634178f1 (patch)
tree1a94cc55be498d406b69c501fff4266101f3327d /source4/smb_server
parentff542275c3e2bf432bcc303e95124374ada03675 (diff)
downloadsamba-71ae732669d641cf8b3fd7f6fa73ead4634178f1.tar.gz
samba-71ae732669d641cf8b3fd7f6fa73ead4634178f1.tar.bz2
samba-71ae732669d641cf8b3fd7f6fa73ead4634178f1.zip
fixed error code for bad keepalive
Diffstat (limited to 'source4/smb_server')
-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;
}