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 | ed3ef2e47d5039077993c6addaf44dce2bb1e780 (patch) | |
tree | faa8004e0b18de95c7d44f95073b9f64bdf446d5 /source/nameserv.c | |
parent | cfbad9b08242962f41595273de08a7293fe432b1 (diff) | |
download | samba-ed3ef2e47d5039077993c6addaf44dce2bb1e780.tar.gz samba-ed3ef2e47d5039077993c6addaf44dce2bb1e780.tar.xz samba-ed3ef2e47d5039077993c6addaf44dce2bb1e780.zip |
- remove some incorrect prototypes from server.c
- formatting cleanup in check_master_browser()
- removed unused code from nameserv.c
Diffstat (limited to 'source/nameserv.c')
-rw-r--r-- | source/nameserv.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/source/nameserv.c b/source/nameserv.c index 176d9558532..b6bc8a4f060 100644 --- a/source/nameserv.c +++ b/source/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. |