1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

loadparm: rename variable for "hosts allow" from hostsallow to hosts_allow

for consistency docs/function/variable

Signed-off-by: Michael Adam <obnox@samba.org>

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
Michael Adam 2014-02-02 14:15:57 +01:00 committed by Andrew Bartlett
parent 4670c43b32
commit c48c4daf4a
3 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@
*/
FN_LOCAL_STRING(path, path)
FN_LOCAL_LIST(hosts_allow, hostsallow)
FN_LOCAL_LIST(hosts_allow, hosts_allow)
FN_LOCAL_LIST(hostsdeny, hostsdeny)
FN_LOCAL_STRING(fstype, fstype)
FN_LOCAL_LIST(ntvfs_handler, ntvfs_handler)

View File

@ -1063,7 +1063,7 @@ static struct parm_struct parm_table[] = {
.label = "hosts allow",
.type = P_LIST,
.p_class = P_LOCAL,
.offset = LOCAL_VAR(hostsallow),
.offset = LOCAL_VAR(hosts_allow),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_GLOBAL | FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE | FLAG_PRINT,
@ -1072,7 +1072,7 @@ static struct parm_struct parm_table[] = {
.label = "allow hosts",
.type = P_LIST,
.p_class = P_LOCAL,
.offset = LOCAL_VAR(hostsallow),
.offset = LOCAL_VAR(hosts_allow),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_HIDE,

View File

@ -168,7 +168,7 @@ static struct loadparm_service sDefault =
._printername = NULL,
.printjob_username = NULL,
.dontdescend = NULL,
.hostsallow = NULL,
.hosts_allow = NULL,
.hostsdeny = NULL,
.magicscript = NULL,
.magicoutput = NULL,