summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-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;