mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +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:
parent
e6e352f4c8
commit
9032e5cfe4
@ -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)
|
||||
|
@ -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,
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user