mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 13:37:55 +00:00
[3245] Corrected timeout units in the DNSClient documentation.
The DNSClient uses timeout specified in ms. The documentation was wrong saying that the timeout is specified in seconds.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC")
|
// Copyright (C) 2013-2014 Internet Systems Consortium, Inc. ("ISC")
|
||||||
//
|
//
|
||||||
// Permission to use, copy, modify, and/or distribute this software for any
|
// Permission to use, copy, modify, and/or distribute this software for any
|
||||||
// purpose with or without fee is hereby granted, provided that the above
|
// purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -143,8 +143,8 @@ public:
|
|||||||
/// @param ns_addr DNS server address.
|
/// @param ns_addr DNS server address.
|
||||||
/// @param ns_port DNS server port.
|
/// @param ns_port DNS server port.
|
||||||
/// @param update A DNS Update message to be sent to the server.
|
/// @param update A DNS Update message to be sent to the server.
|
||||||
/// @param wait A timeout (in seconds) for the response. If a response is
|
/// @param wait A timeout (in milliseconds) for the response. If a response
|
||||||
/// not received within the timeout, exchange is interrupted. This value
|
/// is not received within the timeout, exchange is interrupted. This value
|
||||||
/// must not exceed maximal value for 'int' data type.
|
/// must not exceed maximal value for 'int' data type.
|
||||||
/// @param tsig_key An @c isc::dns::TSIGKey object representing TSIG
|
/// @param tsig_key An @c isc::dns::TSIGKey object representing TSIG
|
||||||
/// context which will be used to render the DNS Update message.
|
/// context which will be used to render the DNS Update message.
|
||||||
@@ -173,8 +173,8 @@ public:
|
|||||||
/// @param ns_addr DNS server address.
|
/// @param ns_addr DNS server address.
|
||||||
/// @param ns_port DNS server port.
|
/// @param ns_port DNS server port.
|
||||||
/// @param update A DNS Update message to be sent to the server.
|
/// @param update A DNS Update message to be sent to the server.
|
||||||
/// @param wait A timeout (in seconds) for the response. If a response is
|
/// @param wait A timeout (in milliseconds) for the response. If a response
|
||||||
/// not received within the timeout, exchange is interrupted. This value
|
/// is not received within the timeout, exchange is interrupted. This value
|
||||||
/// must not exceed maximal value for 'int' data type.
|
/// must not exceed maximal value for 'int' data type.
|
||||||
void doUpdate(asiolink::IOService& io_service,
|
void doUpdate(asiolink::IOService& io_service,
|
||||||
const asiolink::IOAddress& ns_addr,
|
const asiolink::IOAddress& ns_addr,
|
||||||
|
Reference in New Issue
Block a user