summaryrefslogtreecommitdiff
path: root/source4/lib/socket
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-09-13 12:46:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:08 -0500
commit45f760973d9b5c0663608e779eb337c0648e9313 (patch)
tree8021224e493f613ec4107f531519a44059cff048 /source4/lib/socket
parent6bfea6335620083f3fd8b47a297c7c0140fb33c1 (diff)
downloadsamba-45f760973d9b5c0663608e779eb337c0648e9313.tar.gz
samba-45f760973d9b5c0663608e779eb337c0648e9313.tar.bz2
samba-45f760973d9b5c0663608e779eb337c0648e9313.zip
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 used to be commit 9cc000d868e1257ef6429f6f6f1f9d3c28ca330f)
Diffstat (limited to 'source4/lib/socket')
-rw-r--r--source4/lib/socket/connect.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/lib/socket/connect.c b/source4/lib/socket/connect.c
index bb4d7cc843..04902442e3 100644
--- a/source4/lib/socket/connect.c
+++ b/source4/lib/socket/connect.c
@@ -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;