summaryrefslogtreecommitdiffstats
path: root/source4/smb_server/smb/negprot.c
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-04 15:09:09 +1300
committerJeremy Allison <jra@samba.org>2014-02-07 16:19:15 -0800
commit64dc4b59f880b190a347f33dbcb40e0d65a8e009 (patch)
treeb4495dda9da5ee3d228ed9687a460a1a144850a9 /source4/smb_server/smb/negprot.c
parent57d407430fedcaed643f4f2feed72512fca664c2 (diff)
downloadsamba-64dc4b59f880b190a347f33dbcb40e0d65a8e009.tar.gz
samba-64dc4b59f880b190a347f33dbcb40e0d65a8e009.tar.xz
samba-64dc4b59f880b190a347f33dbcb40e0d65a8e009.zip
param: rename lp function and variable from "srv_maxprotocol" to "server_max_protocol"
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/smb_server/smb/negprot.c')
-rw-r--r--source4/smb_server/smb/negprot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/negprot.c b/source4/smb_server/smb/negprot.c
index fa2a6d2a4a..4a40376b39 100644
--- a/source4/smb_server/smb/negprot.c
+++ b/source4/smb_server/smb/negprot.c
@@ -502,7 +502,7 @@ void smbsrv_reply_negprot(struct smbsrv_request *req)
for (protocol = 0; supported_protocols[protocol].proto_name; protocol++) {
int i;
- if (supported_protocols[protocol].protocol_level > lpcfg_srv_maxprotocol(req->smb_conn->lp_ctx))
+ if (supported_protocols[protocol].protocol_level > lpcfg_server_max_protocol(req->smb_conn->lp_ctx))
continue;
if (supported_protocols[protocol].protocol_level < lpcfg_srv_minprotocol(req->smb_conn->lp_ctx))
continue;