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
commitfc111c7875e35c846dbe52f7d3dbce75cfc74336 (patch)
tree9df856823241dee248eff616fd6bbf3b351bc0e3 /source3/smbd/negprot.c
parent64dc4b59f880b190a347f33dbcb40e0d65a8e009 (diff)
downloadsamba-fc111c7875e35c846dbe52f7d3dbce75cfc74336.tar.gz
samba-fc111c7875e35c846dbe52f7d3dbce75cfc74336.tar.xz
samba-fc111c7875e35c846dbe52f7d3dbce75cfc74336.zip
param: rename lp function and variable from "srv_minprotocol" to "server_min_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 2fcf73cd74..ac828a94de 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -652,7 +652,7 @@ void reply_negprot(struct smb_request *req)
for (protocol = 0; supported_protocols[protocol].proto_name; protocol++) {
i = 0;
if ((supported_protocols[protocol].protocol_level <= lp_server_max_protocol()) &&
- (supported_protocols[protocol].protocol_level >= lp_srv_minprotocol()))
+ (supported_protocols[protocol].protocol_level >= lp_server_min_protocol()))
while (i < num_cliprotos) {
if (strequal(cliprotos[i],supported_protocols[protocol].proto_name)) {
choice = i;