diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-05-28 16:51:47 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-05-30 04:15:11 +0200 |
commit | b47f9a09cd5c374b213d9bad83c4903130f61a42 (patch) | |
tree | 2975fe2b6cf6e64b11186439c904dccb5ce59f57 /source3/nmbd | |
parent | 38b1a1115491f9bdbcf3dde42798fa94bd39dd97 (diff) | |
download | samba-b47f9a09cd5c374b213d9bad83c4903130f61a42.tar.gz samba-b47f9a09cd5c374b213d9bad83c4903130f61a42.tar.bz2 samba-b47f9a09cd5c374b213d9bad83c4903130f61a42.zip |
s3-param: Rename lp_dns_proxy() -> lp_wins_dns_proxy() for clarity
This avoids some confusion now we have a DNS server as well.
Andrew Bartlett
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd.c | 2 | ||||
-rw-r--r-- | source3/nmbd/nmbd_winsserver.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index bb264d2274..98a531026a 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -928,7 +928,7 @@ static bool open_sockets(bool isdaemon, int port) #ifndef SYNC_DNS /* Setup the async dns. We do it here so it doesn't have all the other stuff initialised and thus chewing memory and sockets */ - if(lp_we_are_a_wins_server() && lp_dns_proxy()) { + if(lp_we_are_a_wins_server() && lp_wins_dns_proxy()) { start_async_dns(msg); } #endif diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c index 0a06ebea66..ff5fae70b1 100644 --- a/source3/nmbd/nmbd_winsserver.c +++ b/source3/nmbd/nmbd_winsserver.c @@ -2092,7 +2092,7 @@ void wins_process_name_query_request(struct subnet_record *subrec, * Name not found in WINS - try a dns query if it's a 0x20 name. */ - if(lp_dns_proxy() && ((question->name_type == 0x20) || question->name_type == 0)) { + if(lp_wins_dns_proxy() && ((question->name_type == 0x20) || question->name_type == 0)) { DEBUG(3,("wins_process_name_query: name query for name %s not found - doing dns lookup.\n", nmb_namestr(question) )); |