From 51ef1b606fe1853b7ca2decf2a74eecf18c5a747 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 10 Dec 2007 18:41:29 +0100 Subject: r26377: Specify port explicitly. (This used to be commit 8c767ca13906966cd6cccbeaef3c50033d46f206) --- source4/libcli/nbt/namequery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli/nbt/namequery.c') diff --git a/source4/libcli/nbt/namequery.c b/source4/libcli/nbt/namequery.c index 6bc6878194..e3432bfda1 100644 --- a/source4/libcli/nbt/namequery.c +++ b/source4/libcli/nbt/namequery.c @@ -158,7 +158,7 @@ _PUBLIC_ struct nbt_name_request *nbt_name_status_send(struct nbt_name_socket *n packet->questions[0].question_class = NBT_QCLASS_IP; dest = socket_address_from_strings(packet, nbtsock->sock->backend_name, - io->in.dest_addr, lp_nbt_port(global_loadparm)); + io->in.dest_addr, io->in.dest_port); if (dest == NULL) goto failed; req = nbt_name_request_send(nbtsock, dest, packet, io->in.timeout, io->in.retries, false); -- cgit