diff options
Diffstat (limited to 'source4/libcli/nbt/namequery.c')
-rw-r--r-- | source4/libcli/nbt/namequery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/nbt/namequery.c b/source4/libcli/nbt/namequery.c index 072b1e459a..ddef2a7d07 100644 --- a/source4/libcli/nbt/namequery.c +++ b/source4/libcli/nbt/namequery.c @@ -53,7 +53,7 @@ struct nbt_name_request *nbt_name_query_send(struct nbt_name_socket *nbtsock, packet->questions[0].question_class = NBT_QCLASS_IP; req = nbt_name_request_send(nbtsock, io->in.dest_addr, lp_nbt_port(), packet, - timeval_current_ofs(io->in.timeout, 0), False); + io->in.timeout, io->in.retries, False); if (req == NULL) goto failed; talloc_free(packet); @@ -146,7 +146,7 @@ struct nbt_name_request *nbt_name_status_send(struct nbt_name_socket *nbtsock, packet->questions[0].question_class = NBT_QCLASS_IP; req = nbt_name_request_send(nbtsock, io->in.dest_addr, lp_nbt_port(), packet, - timeval_current_ofs(io->in.timeout, 0), False); + io->in.timeout, io->in.retries, False); if (req == NULL) goto failed; talloc_free(packet); |