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

param: Rename variable used for lp_nmbd_bind_explicit_broadcast bNmbdBindExplicitBroadcast

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:03:51 +13:00 committed by Jeremy Allison
parent e6e352f4c8
commit 9032e5cfe4
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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,

View File

@ -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");