summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/swat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index 3c209b5b3c..97c9613e25 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -775,7 +775,7 @@ static void wizard_page(void)
else
{
/* Now determine smb.conf WINS settings */
- if (lp_wins_support())
+ if (lp_we_are_a_wins_server())
winstype = 1;
if (lp_wins_server_list() && strlen(*lp_wins_server_list()))
winstype = 2;
@@ -783,7 +783,7 @@ static void wizard_page(void)
/* Do we have a homes share? */
have_home = lp_servicenumber(HOMES_NAME);
}
- if ((winstype == 2) && lp_wins_support())
+ if ((winstype == 2) && lp_we_are_a_wins_server())
winstype = 3;
role = lp_server_role();