summaryrefslogtreecommitdiffstats
path: root/source3/smbd/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 /source3/smbd/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 'source3/smbd/negprot.c')
-rw-r--r--source3/smbd/negprot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index d00b354369..2fcf73cd74 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -651,7 +651,7 @@ void reply_negprot(struct smb_request *req)
/* Check for protocols, most desirable first */
for (protocol = 0; supported_protocols[protocol].proto_name; protocol++) {
i = 0;
- if ((supported_protocols[protocol].protocol_level <= lp_srv_maxprotocol()) &&
+ if ((supported_protocols[protocol].protocol_level <= lp_server_max_protocol()) &&
(supported_protocols[protocol].protocol_level >= lp_srv_minprotocol()))
while (i < num_cliprotos) {
if (strequal(cliprotos[i],supported_protocols[protocol].proto_name)) {