diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-06-22 17:06:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:09:29 -0500 |
commit | 7bf085571eba5f321d35ff449d68da39ec303dab (patch) | |
tree | b2772f64d1ce496cd8c3dd6223da43a71951ad07 /source4/smb_server/smb/negprot.c | |
parent | d44c28b3a9ee09c27edb738684d79646b1e311a0 (diff) | |
download | samba-7bf085571eba5f321d35ff449d68da39ec303dab.tar.gz samba-7bf085571eba5f321d35ff449d68da39ec303dab.tar.xz samba-7bf085571eba5f321d35ff449d68da39ec303dab.zip |
r16464: split client and server min/max protocol settings
metze
(This used to be commit 6164d1e22e0545f558315591d49f862de06ea945)
Diffstat (limited to 'source4/smb_server/smb/negprot.c')
-rw-r--r-- | source4/smb_server/smb/negprot.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |