From 71ae732669d641cf8b3fd7f6fa73ead4634178f1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 24 Sep 2008 08:58:16 -0700 Subject: fixed error code for bad keepalive --- source4/smb_server/smb2/keepalive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit