summaryrefslogtreecommitdiff
path: root/source3/lib
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/lib
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/lib')
-rw-r--r--source3/lib/wins_srv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/wins_srv.c b/source3/lib/wins_srv.c
index f9e8f3b0e1..fb5587f9ba 100644
--- a/source3/lib/wins_srv.c
+++ b/source3/lib/wins_srv.c
@@ -153,7 +153,7 @@ unsigned wins_srv_count(void)
const char **list;
int count = 0;
- if (lp_wins_support()) {
+ if (lp_we_are_a_wins_server()) {
/* simple - just talk to ourselves */
return 1;
}
@@ -210,7 +210,7 @@ char **wins_srv_tags(void)
int count=0, i, j;
const char **list;
- if (lp_wins_support()) {
+ if (lp_we_are_a_wins_server()) {
/* give the caller something to chew on. This makes
the rest of the logic simpler (ie. less special cases) */
ret = SMB_MALLOC_ARRAY(char *, 2);
@@ -283,7 +283,7 @@ struct in_addr wins_srv_ip_tag(const char *tag, struct in_addr src_ip)
struct tagged_ip t_ip;
/* if we are a wins server then we always just talk to ourselves */
- if (lp_wins_support()) {
+ if (lp_we_are_a_wins_server()) {
struct in_addr loopback_ip;
loopback_ip.s_addr = htonl(INADDR_LOOPBACK);
return loopback_ip;
@@ -381,7 +381,7 @@ unsigned wins_srv_count_tag(const char *tag)
int i, count=0;
/* if we are a wins server then we always just talk to ourselves */
- if (lp_wins_support()) {
+ if (lp_we_are_a_wins_server()) {
return 1;
}