diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index e324097d50..372d96e79b 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -655,7 +655,8 @@ static int switch_message(int type,char *inbuf,char *outbuf,int size,int bufsize /* Make sure this is an SMB packet */ if (strncmp(smb_base(inbuf),"\377SMB",4) != 0) { - DEBUG(2,("Non-SMB packet of length %d\n",smb_len(inbuf))); + DEBUG(2,("Non-SMB packet of length %d. Terminating server\n",smb_len(inbuf))); + exit_server("Non-SMB packet"); return(-1); } |