summaryrefslogtreecommitdiff
path: root/source4/libcli/resolve/host.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-17 17:25:40 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-17 20:28:40 +0100
commit116fbd6b5a82a2e9f2440aae4ad56cf8a457c85b (patch)
tree713fd94f73e03ab088206a6af1b9b81ad32832a9 /source4/libcli/resolve/host.c
parent7d0e78a52cfed797100696725611655227cf01ac (diff)
downloadsamba-116fbd6b5a82a2e9f2440aae4ad56cf8a457c85b.tar.gz
samba-116fbd6b5a82a2e9f2440aae4ad56cf8a457c85b.tar.bz2
samba-116fbd6b5a82a2e9f2440aae4ad56cf8a457c85b.zip
s4:libcli/resolve: specify the port for the resulting socket_addresses
metze
Diffstat (limited to 'source4/libcli/resolve/host.c')
-rw-r--r--source4/libcli/resolve/host.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/resolve/host.c b/source4/libcli/resolve/host.c
index d85c63b5d3..908d173d86 100644
--- a/source4/libcli/resolve/host.c
+++ b/source4/libcli/resolve/host.c
@@ -35,10 +35,11 @@
struct composite_context *resolve_name_host_send(TALLOC_CTX *mem_ctx,
struct event_context *event_ctx,
void *privdata, uint32_t flags,
+ uint16_t port,
struct nbt_name *name)
{
return resolve_name_dns_ex_send(mem_ctx, event_ctx, NULL, flags,
- name, true, true, false);
+ port, name, true, true, false);
}
/*