summaryrefslogtreecommitdiff
path: root/source4/nbt_server
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 /source4/nbt_server
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 'source4/nbt_server')
-rw-r--r--source4/nbt_server/query.c2
-rw-r--r--source4/nbt_server/wins/winsserver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/nbt_server/query.c b/source4/nbt_server/query.c
index c888dcaca1..8cf387c2dc 100644
--- a/source4/nbt_server/query.c
+++ b/source4/nbt_server/query.c
@@ -82,7 +82,7 @@ void nbtd_request_query(struct nbt_name_socket *nbtsock,
if (!(packet->operation & NBT_FLAG_BROADCAST) &&
(packet->operation & NBT_FLAG_RECURSION_DESIRED) &&
(iname->nb_flags & NBT_NM_GROUP) &&
- lpcfg_wins_support(iface->nbtsrv->task->lp_ctx)) {
+ lpcfg_we_are_a_wins_server(iface->nbtsrv->task->lp_ctx)) {
nbtd_winsserver_request(nbtsock, packet, src);
return;
}
diff --git a/source4/nbt_server/wins/winsserver.c b/source4/nbt_server/wins/winsserver.c
index 5f1f41747f..e9598bab8c 100644
--- a/source4/nbt_server/wins/winsserver.c
+++ b/source4/nbt_server/wins/winsserver.c
@@ -1038,7 +1038,7 @@ NTSTATUS nbtd_winsserver_init(struct nbtd_server *nbtsrv)
uint32_t tmp;
const char *owner;
- if (!lpcfg_wins_support(nbtsrv->task->lp_ctx)) {
+ if (!lpcfg_we_are_a_wins_server(nbtsrv->task->lp_ctx)) {
nbtsrv->winssrv = NULL;
return NT_STATUS_OK;
}