diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-06-05 15:44:24 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-06-05 15:44:24 +0000 |
commit | f6655e8a385181bdbff0e7ac7f6a8dcbce60360b (patch) | |
tree | 244e334b5d8e5a17f90e08d7f648864db9eece14 /source3/nameserv.c | |
parent | e38afbf38210b8cf30c5b13dc5ea96a6dda433f7 (diff) | |
download | samba-f6655e8a385181bdbff0e7ac7f6a8dcbce60360b.tar.gz samba-f6655e8a385181bdbff0e7ac7f6a8dcbce60360b.tar.bz2 samba-f6655e8a385181bdbff0e7ac7f6a8dcbce60360b.zip |
- remove some incorrect prototypes from server.c
- formatting cleanup in check_master_browser()
- removed unused code from nameserv.c
(This used to be commit ed3ef2e47d5039077993c6addaf44dce2bb1e780)
Diffstat (limited to 'source3/nameserv.c')
-rw-r--r-- | source3/nameserv.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/source3/nameserv.c b/source3/nameserv.c index 176d955853..b6bc8a4f06 100644 --- a/source3/nameserv.c +++ b/source3/nameserv.c @@ -696,28 +696,6 @@ struct name_record *search_for_name(struct nmb_name *question, return n; } -/* XXXX i think we should only do this if we are a WINS proxy - if (!n && bcast) - { - // now try look up the name at the primary domain controller - if (*lp_domain_controller()) - { - struct in_addr dom_ip; - dom_ip = *interpret_addr2(lp_domain_controller()); - - if (!zero_ip(dom_ip)) - { - struct in_addr found_ip; - - // initiate a netbios query to the PDC - queue_netbios_packet(ClientNMB,NMB_QUERY,NAME_CONFIRM_QUERY, - question->name, question->name_type, 0, - False, True, dom_ip, id); - return; - } - } - } -*/ /*************************************************************************** reply to a name query. |