summaryrefslogtreecommitdiff
path: root/dhcpctl
diff options
context:
space:
mode:
authorWlodek Wencel <wlodek@isc.org>2022-03-08 10:24:40 +0100
committerWlodek Wencel <wlodek@isc.org>2022-03-08 10:24:40 +0100
commit33226f2d76b6b7a06df6b76abbb3526100f5ae2d (patch)
treeda7dd3a1441fd4eac450d494fa3e8966d67eef08 /dhcpctl
parentbc834b2b7dd7b78433b655c778dedb83c3907f87 (diff)
downloadisc-dhcp-33226f2d76b6b7a06df6b76abbb3526100f5ae2d.tar.gz
Diffstat (limited to 'dhcpctl')
-rw-r--r--dhcpctl/dhcpctl.34
-rw-r--r--dhcpctl/dhcpctl.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/dhcpctl/dhcpctl.3 b/dhcpctl/dhcpctl.3
index 48fd728c..5005ab34 100644
--- a/dhcpctl/dhcpctl.3
+++ b/dhcpctl/dhcpctl.3
@@ -268,7 +268,7 @@ authenticator has been created for the connection, then it is given as the 4th
argument. On a successful return the address pointed at by the first
argument will have a new connection object assigned to it.
How long the function waits for complete the connection is dictated by the value
-of the parameter, \fBtimeout\fR. If the value is null, it will wait indefinetly
+of the parameter, \fBtimeout\fR. If the value is null, it will wait indefinitely
Otherwise it will wait for the amount of time specified by \fBtimeout\fR
(tv_sec:tv_usec). Values of zero for both fields are valid but not recommended.
An example is shown below:
@@ -333,7 +333,7 @@ to the server is lost.
.Fn dhcpctl_timed_wait_for_completion
flushes a pending message to the server and waits for the response. How long
the function waits for a response is dictated by the value of the third
-parameter, \fBtimeout\fR. If the value is null, it will wait indefinetly or
+parameter, \fBtimeout\fR. If the value is null, it will wait indefinitely or
until the connection is lost. Otherwise it will wait for the amount of time
specified by \fBtimeout\fR (tv_sec:tv_usec). Values of zero for both fields
are valid but not recommended. The result of the request as processed on the
diff --git a/dhcpctl/dhcpctl.c b/dhcpctl/dhcpctl.c
index cb84b4e0..07b55514 100644
--- a/dhcpctl/dhcpctl.c
+++ b/dhcpctl/dhcpctl.c
@@ -155,7 +155,7 @@ dhcpctl_status dhcpctl_connect (dhcpctl_handle *connection,
information.
How long the function waits for the connection to complete is
dictated by the value of the parameter, t. If the value is nul,
- it will wait indefinetly. Otherwise it will wait for the amount
+ it will wait indefinitely. Otherwise it will wait for the amount
of time specified by t (tv_sec:tv_usec). Values of zero for both
fields are valid but not recommended. */
dhcpctl_status dhcpctl_timed_connect (dhcpctl_handle *connection,
@@ -235,7 +235,7 @@ dhcpctl_status dhcpctl_wait_for_completion (dhcpctl_handle h,
will also be either zero for success or nonzero for some kind
of failure. How long the function waits for a response is
dictated by the value of the parameter, t. If the value is nul,
- it will wait indefinetly or until the connection is lost.
+ it will wait indefinitely or until the connection is lost.
Otherwise it will wait for the amount of time specified by t
(tv_sec:tv_usec). Values of zero for both fields are valid
but not recommended. The result of the request as processed on the