mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
s3: Remove unused code
This is done in name_query_send these days Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 19:24:58 CEST 2011 on sn-devel-104
This commit is contained in:
parent
a3d35ac44b
commit
80c395aef4
@ -1494,7 +1494,6 @@ NTSTATUS name_resolve_bcast(const char *name,
|
||||
int i;
|
||||
int num_interfaces = iface_count();
|
||||
struct sockaddr_storage *ss_list;
|
||||
struct sockaddr_storage ss;
|
||||
NTSTATUS status = NT_STATUS_NOT_FOUND;
|
||||
|
||||
if (lp_disable_netbios()) {
|
||||
@ -1513,11 +1512,6 @@ NTSTATUS name_resolve_bcast(const char *name,
|
||||
DEBUG(3,("name_resolve_bcast: Attempting broadcast lookup "
|
||||
"for name %s<0x%x>\n", name, name_type));
|
||||
|
||||
if (!interpret_string_addr(&ss, lp_socket_address(),
|
||||
AI_NUMERICHOST|AI_PASSIVE)) {
|
||||
zero_sockaddr(&ss);
|
||||
}
|
||||
|
||||
/*
|
||||
* Lookup the name on all the interfaces, return on
|
||||
* the first successful match.
|
||||
|
Loading…
x
Reference in New Issue
Block a user