summaryrefslogtreecommitdiffstats
path: root/lib/param
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 /lib/param
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 'lib/param')
-rw-r--r--lib/param/param_functions.c2
-rw-r--r--lib/param/param_table.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index 9f689da5403..81b33e0258e 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -334,7 +334,7 @@ FN_GLOBAL_INTEGER(server_signing, server_signing)
FN_GLOBAL_INTEGER(smb2_max_read, smb2_max_read)
FN_GLOBAL_INTEGER(smb2_max_trans, smb2_max_trans)
FN_GLOBAL_INTEGER(smb2_max_write, smb2_max_write)
-FN_GLOBAL_INTEGER(srv_maxprotocol, srv_maxprotocol)
+FN_GLOBAL_INTEGER(server_max_protocol, server_max_protocol)
FN_GLOBAL_INTEGER(srv_minprotocol, srv_minprotocol)
FN_GLOBAL_INTEGER(syslog, syslog)
FN_GLOBAL_INTEGER(usernamelevel, usernamelevel)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 3b4736aa121..bd94553f8bd 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1322,7 +1322,7 @@ static struct parm_struct parm_table[] = {
.label = "server max protocol",
.type = P_ENUM,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(srv_maxprotocol),
+ .offset = GLOBAL_VAR(server_max_protocol),
.special = NULL,
.enum_list = enum_protocol,
.flags = FLAG_ADVANCED,
@@ -1331,7 +1331,7 @@ static struct parm_struct parm_table[] = {
.label = "max protocol",
.type = P_ENUM,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(srv_maxprotocol),
+ .offset = GLOBAL_VAR(server_max_protocol),
.special = NULL,
.enum_list = enum_protocol,
.flags = FLAG_ADVANCED,
@@ -1340,7 +1340,7 @@ static struct parm_struct parm_table[] = {
.label = "protocol",
.type = P_ENUM,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(srv_maxprotocol),
+ .offset = GLOBAL_VAR(server_max_protocol),
.special = NULL,
.enum_list = enum_protocol,
.flags = FLAG_ADVANCED,