diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/param/param_functions.c | 2 | ||||
| -rw-r--r-- | lib/param/param_table.c | 4 |
2 files changed, 3 insertions, 3 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, |
