diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-12-24 16:04:18 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-01-24 16:18:59 -0800 |
commit | 6f037d7b5dcd97f30bf245a1665341c08c26136c (patch) | |
tree | 44ee4db49c90a452c00764c7227cfc00ce4fc36e | |
parent | f1e266ec9b5ef71e9a38f5774ff650e4dd44116a (diff) | |
download | samba-6f037d7b5dcd97f30bf245a1665341c08c26136c.tar.gz samba-6f037d7b5dcd97f30bf245a1665341c08c26136c.tar.xz samba-6f037d7b5dcd97f30bf245a1665341c08c26136c.zip |
param: Rename variable used for lp_smb2_max_read ismb2_max_read
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | lib/param/param_functions.c | 2 | ||||
-rw-r--r-- | lib/param/param_table.c | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index 79a1987fc5..8f3661ed2d 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -332,7 +332,7 @@ FN_GLOBAL_INTEGER(_security, security) FN_GLOBAL_INTEGER(_server_role, server_role) FN_GLOBAL_INTEGER(server_schannel, server_schannel) FN_GLOBAL_INTEGER(server_signing, server_signing) -FN_GLOBAL_INTEGER(smb2_max_read, ismb2_max_read) +FN_GLOBAL_INTEGER(smb2_max_read, smb2_max_read) FN_GLOBAL_INTEGER(smb2_max_trans, ismb2_max_trans) FN_GLOBAL_INTEGER(smb2_max_write, ismb2_max_write) FN_GLOBAL_INTEGER(srv_maxprotocol, srv_maxprotocol) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index ed2960c26d..41596d80b9 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -1983,7 +1983,7 @@ static struct parm_struct parm_table[] = { .label = "smb2 max read", .type = P_BYTES, .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(ismb2_max_read), + .offset = GLOBAL_VAR(smb2_max_read), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED, diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index f578077275..376b05a95d 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1033,7 +1033,7 @@ static void init_globals(bool reinit_globals) Globals.map_untrusted_to_domain = false; Globals.multicast_dns_register = true; - Globals.ismb2_max_read = DEFAULT_SMB2_MAX_READ; + Globals.smb2_max_read = DEFAULT_SMB2_MAX_READ; Globals.ismb2_max_write = DEFAULT_SMB2_MAX_WRITE; Globals.ismb2_max_trans = DEFAULT_SMB2_MAX_TRANSACT; Globals.ismb2_max_credits = DEFAULT_SMB2_MAX_CREDITS; |