1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-22 07:33:16 +03:00

r26309: Move specification of port higher up the all stack.

This commit is contained in:
Jelmer Vernooij
2007-12-06 16:26:56 +01:00
committed by Stefan Metzmacher
parent bd2d6e0595
commit 7de55cde7c
8 changed files with 21 additions and 4 deletions

View File

@@ -151,6 +151,7 @@ struct composite_context *resolve_name_nbtlist_send(TALLOC_CTX *mem_ctx,
for (i=0;i<state->num_queries;i++) {
state->io_queries[i].in.name = state->name;
state->io_queries[i].in.dest_addr = talloc_strdup(state->io_queries, address_list[i]);
state->io_queries[i].in.dest_port = lp_nbt_port(global_loadparm);
if (composite_nomem(state->io_queries[i].in.dest_addr, c)) return c;
state->io_queries[i].in.broadcast = broadcast;