1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

param: Rename variable used for lp_wins_server_list szWINSservers

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andrew Bartlett 2013-12-24 16:04:26 +13:00 committed by Jeremy Allison
parent 434a261efb
commit e57d08d0d6
3 changed files with 3 additions and 3 deletions

View File

@ -2297,7 +2297,7 @@ static bool lpcfg_update(struct loadparm_context *lp_ctx)
struct debug_settings settings;
lpcfg_add_auto_services(lp_ctx, lpcfg_auto_services(lp_ctx));
if (!lp_ctx->globals->szWINSservers && lp_ctx->globals->we_are_a_wins_server) {
if (!lp_ctx->globals->wins_server_list && lp_ctx->globals->we_are_a_wins_server) {
lpcfg_do_global_parameter(lp_ctx, "wins server", "127.0.0.1");
}

View File

@ -366,7 +366,7 @@ FN_GLOBAL_LIST(svcctl_list, svcctl_list)
FN_GLOBAL_LIST(usershare_prefix_allow_list, usershare_prefix_allow_list)
FN_GLOBAL_LIST(usershare_prefix_deny_list, usershare_prefix_deny_list)
FN_GLOBAL_LIST(winbind_nss_info, winbind_nss_info)
FN_GLOBAL_LIST(wins_server_list, szWINSservers)
FN_GLOBAL_LIST(wins_server_list, wins_server_list)
FN_GLOBAL_STRING(abort_shutdown_script, szAbortShutdownScript)
FN_GLOBAL_STRING(addgroup_script, szAddGroupScript)
FN_GLOBAL_STRING(addmachine_script, szAddMachineScript)

View File

@ -2908,7 +2908,7 @@ static struct parm_struct parm_table[] = {
.label = "wins server",
.type = P_LIST,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(szWINSservers),
.offset = GLOBAL_VAR(wins_server_list),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_BASIC | FLAG_ADVANCED | FLAG_WIZARD,