From 9032e5cfe4c9b6cbb94507b62adf72facf343ac2 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 24 Dec 2013 16:03:51 +1300 Subject: [PATCH] param: Rename variable used for lp_nmbd_bind_explicit_broadcast bNmbdBindExplicitBroadcast Signed-off-by: Andrew Bartlett Signed-off-by: Garming Sam Reviewed-by: Jeremy Allison --- lib/param/param_functions.c | 2 +- lib/param/param_table.c | 2 +- source3/param/loadparm.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index e054ef2105f..ba9361c5dd9 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -195,7 +195,7 @@ FN_GLOBAL_BOOL(ms_add_printer_wizard, ms_add_printer_wizard) FN_GLOBAL_BOOL(multicast_dns_register, multicast_dns_register) FN_GLOBAL_BOOL(neutralize_nt4_emulation, neutralize_nt4_emulation) FN_GLOBAL_BOOL(nis_home_map, nis_home_map) -FN_GLOBAL_BOOL(nmbd_bind_explicit_broadcast, bNmbdBindExplicitBroadcast) +FN_GLOBAL_BOOL(nmbd_bind_explicit_broadcast, nmbd_bind_explicit_broadcast) FN_GLOBAL_BOOL(ntlm_auth, bNTLMAuth) FN_GLOBAL_BOOL(nt_pipe_support, bNTPipeSupport) FN_GLOBAL_BOOL(nt_status_support, bNTStatusSupport) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index ca76b6559a8..b09a9e3ade4 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -3481,7 +3481,7 @@ static struct parm_struct parm_table[] = { .label = "nmbd bind explicit broadcast", .type = P_BOOL, .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(bNmbdBindExplicitBroadcast), + .offset = GLOBAL_VAR(nmbd_bind_explicit_broadcast), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED, diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 37f54040e6f..11f313080e4 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -782,7 +782,7 @@ static void init_globals(bool reinit_globals) * By default support explicit binding to broadcast * addresses. */ - Globals.bNmbdBindExplicitBroadcast = true; + Globals.nmbd_bind_explicit_broadcast = true; if (asprintf(&s, "Samba %s", samba_version_string()) < 0) { smb_panic("init_globals: ENOMEM");