summaryrefslogtreecommitdiff
path: root/server/failover.c
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2007-11-30 21:51:43 +0000
committerFrancis Dupont <fdupont@isc.org>2007-11-30 21:51:43 +0000
commit20ae1affb0462772706cd4fd446808d234935b7a (patch)
treecc950f04386d07de3e07fb44223d33aca07b9d09 /server/failover.c
parente102ecceb99b7764e8ac1f58308306596fc7f317 (diff)
downloadisc-dhcp-20ae1affb0462772706cd4fd446808d234935b7a.tar.gz
almost editorial stuff
Diffstat (limited to 'server/failover.c')
-rw-r--r--server/failover.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/failover.c b/server/failover.c
index 36451fb0..0621077d 100644
--- a/server/failover.c
+++ b/server/failover.c
@@ -168,7 +168,7 @@ isc_result_t find_failover_peer (peer, name, file, line)
specified for each failover object, there could be as many as one
listener object for each secondary failover_state object. */
-/* This, then, is the implemention of the failover link object. */
+/* This, then, is the implementation of the failover link object. */
isc_result_t dhcp_failover_link_initiate (omapi_object_t *h)
{
@@ -2121,7 +2121,7 @@ isc_result_t dhcp_failover_peer_state_changed (dhcp_failover_state_t *state,
break;
/* If we're in communications-interrupted and an
- amnesiac peer connects, go to the partner_down
+ amnesic peer connects, go to the partner_down
state immediately. */
case recover:
dhcp_failover_set_state (state, partner_down);
@@ -2564,7 +2564,7 @@ isc_result_t dhcp_failover_send_updates (dhcp_failover_state_t *state)
if (!state -> link_to_peer)
return ISC_R_SUCCESS;
- /* If there are acks pending, transmit them prior to potentialy
+ /* If there are acks pending, transmit them prior to potentially
* sending new updates for the same lease.
*/
if (state->toack_queue_head != NULL)
@@ -5153,7 +5153,7 @@ isc_result_t dhcp_failover_process_bind_ack (dhcp_failover_state_t *state,
write_lease(lease);
/* Commit the lease only after a two-second timeout,
so that if we get a bunch of acks in quick
- successtion (e.g., when stealing leases from the
+ succession (e.g., when stealing leases from the
secondary), we do not do an immediate commit for
each one. */
add_timeout(cur_time + 2,