loadparm: rename variable for "hosts allow" from hostsallow to hosts_allow
[metze/samba/wip.git] / lib / param / param_table.c
index 2328e7583aad85c685ffe4718b57c5dbf160bd1a..b6b11f92cfa1feac5033e0274e049b8f2469e204 100644 (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,