mirror of
https://github.com/samba-team/samba.git
synced 2025-11-26 04:23:49 +03:00
r10200: added a composite_trigger_done() call that allows a composite function
to cause an event to happen immediately. This allows metzes patch for recognising IPs in resolve_name() to work, and also allows us to remove some of the other code where we currently do specific checks for is_ipaddress().
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
b3a9d759bb
commit
9cc000d868
@@ -36,11 +36,6 @@ static NTSTATUS connect_resolve(TALLOC_CTX *mem_ctx, const char *address,
|
||||
{
|
||||
struct nbt_name name;
|
||||
|
||||
if (is_ipaddress(address) || strcasecmp("localhost", address) == 0) {
|
||||
*ret_address = address;
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
name.name = address;
|
||||
name.scope = NULL;
|
||||
name.type = NBT_NAME_CLIENT;
|
||||
|
||||
Reference in New Issue
Block a user