From 7bf085571eba5f321d35ff449d68da39ec303dab Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 22 Jun 2006 17:06:36 +0000 Subject: r16464: split client and server min/max protocol settings metze (This used to be commit 6164d1e22e0545f558315591d49f862de06ea945) --- source4/smb_server/smb/negprot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/smb_server/smb/negprot.c') diff --git a/source4/smb_server/smb/negprot.c b/source4/smb_server/smb/negprot.c index 5f1e75447b..29e6c0736f 100644 --- a/source4/smb_server/smb/negprot.c +++ b/source4/smb_server/smb/negprot.c @@ -509,8 +509,8 @@ 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 > lp_maxprotocol()) continue; - if (supported_protocols[protocol].protocol_level < lp_minprotocol()) continue; + if (supported_protocols[protocol].protocol_level > lp_srv_maxprotocol()) continue; + if (supported_protocols[protocol].protocol_level < lp_srv_minprotocol()) continue; for (i = 0; i < protos_count; i++) { if (strcmp(supported_protocols[protocol].proto_name, protos[i]) != 0) continue; -- cgit