diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-12 08:56:53 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-12 09:44:04 +0200 |
commit | 5812a5218dd5b6c9833e4a64e33efdf0e7f78a03 (patch) | |
tree | b87314151d9550c73c0e4f297b07c4f25c9ec2f7 /source4/smb_server | |
parent | 142b4f5b3710c044d039eda63973619450034dfb (diff) | |
download | samba-5812a5218dd5b6c9833e4a64e33efdf0e7f78a03.tar.gz samba-5812a5218dd5b6c9833e4a64e33efdf0e7f78a03.tar.bz2 samba-5812a5218dd5b6c9833e4a64e33efdf0e7f78a03.zip |
s4:smb_server: s/SMBkeepalive/NBSSkeepalive
metze
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/smb/reply.c | 6 |
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; |