1
0
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:
Andrew Tridgell
2005-09-13 12:46:03 +00:00
committed by Gerald (Jerry) Carter
parent b3a9d759bb
commit 9cc000d868
4 changed files with 36 additions and 16 deletions

View File

@@ -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;