summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-12 08:56:53 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-12 09:44:04 +0200
commit5812a5218dd5b6c9833e4a64e33efdf0e7f78a03 (patch)
treeb87314151d9550c73c0e4f297b07c4f25c9ec2f7 /source4/smb_server/smb
parent142b4f5b3710c044d039eda63973619450034dfb (diff)
downloadsamba-5812a5218dd5b6c9833e4a64e33efdf0e7f78a03.tar.gz
samba-5812a5218dd5b6c9833e4a64e33efdf0e7f78a03.tar.bz2
samba-5812a5218dd5b6c9833e4a64e33efdf0e7f78a03.zip
s4:smb_server: s/SMBkeepalive/NBSSkeepalive
metze
Diffstat (limited to 'source4/smb_server/smb')
-rw-r--r--source4/smb_server/smb/reply.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/smb_server/smb/reply.c b/source4/smb_server/smb/reply.c
index ff270944e2..74f093f37d 100644
--- a/source4/smb_server/smb/reply.c
+++ b/source4/smb_server/smb/reply.c
@@ -2333,7 +2333,7 @@ void smbsrv_reply_special(struct smbsrv_request *req)
SIVAL(buf, 0, 0);
switch (msg_type) {
- case 0x81: /* session request */
+ case NBSSrequest: /* session request */
if (req->smb_conn->negotiate.done_nbt_session) {
DEBUG(0,("Warning: ignoring secondary session request\n"));
return;
@@ -2353,14 +2353,14 @@ void smbsrv_reply_special(struct smbsrv_request *req)
case 0x89: /* session keepalive request
(some old clients produce this?) */
- SCVAL(buf, 0, SMBkeepalive);
+ SCVAL(buf, 0, NBSSkeepalive);
SCVAL(buf, 3, 0);
req->out.buffer = buf;
req->out.size = 4;
smbsrv_send_reply_nosign(req);
return;
- case SMBkeepalive:
+ case NBSSkeepalive:
/* session keepalive - swallow it */
talloc_free(req);
return;