diff options
-rw-r--r-- | lib/param/param_functions.c | 2 | ||||
-rw-r--r-- | lib/param/param_table.c | 4 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index cafa6d5611..fef85507e5 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -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) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 2328e7583a..b6b11f92cf 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -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, diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index c9c502d21c..0a8987f2c6 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -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, |