summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-01 15:14:08 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-02 12:31:34 +1000
commitd4ef70a7645fb2fb21c565566c20619ff5d1a7ec (patch)
tree5c90ba64a51c142fe02735f88b6c36c316c0928d /source3/nmbd
parent6d8cc418ba9276c7aba0f5d07b420b2a79916d05 (diff)
downloadsamba-d4ef70a7645fb2fb21c565566c20619ff5d1a7ec.tar.gz
samba-d4ef70a7645fb2fb21c565566c20619ff5d1a7ec.tar.bz2
samba-d4ef70a7645fb2fb21c565566c20619ff5d1a7ec.zip
param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()
Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_namelistdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_namelistdb.c b/source3/nmbd/nmbd_namelistdb.c
index c6315f665d..61c1d784f7 100644
--- a/source3/nmbd/nmbd_namelistdb.c
+++ b/source3/nmbd/nmbd_namelistdb.c
@@ -33,7 +33,7 @@ uint16 samba_nb_type = 0; /* samba's NetBIOS name type */
void set_samba_nb_type(void)
{
- if( lp_wins_support() || wins_srv_count() ) {
+ if( lp_we_are_a_wins_server() || wins_srv_count() ) {
samba_nb_type = NB_HFLAG; /* samba is a 'hybrid' node type. */
} else {
samba_nb_type = NB_BFLAG; /* samba is broadcast-only node type. */