Commit 76c06d64 authored by Daniel Kahn Gillmor's avatar Daniel Kahn Gillmor Committed by Daniel Salzman

Fix minor spelling nit-picks

These were found by the "codespell" tool.
parent 0ceb3e6e
......@@ -327,7 +327,7 @@ Knot DNS 2.4.1 (2017-02-10)
Improvements:
-------------
- Speed-up of rdata addition into a huge rrset
- Introduce check of minumum timeout for next refresh
- Introduce check of minimum timeout for next refresh
- Dnsproxy module can forward all queries without local resolving
Bugfixes:
......
......@@ -265,7 +265,7 @@ causing freeze pending. So we watch the zone status until frozen. Then we can fl
frozen zone contents.
Now we open a text editor and perform desired changes to the zone file. It's necessary
to increase SOA serial in this step to keep consistency. Finaly, we can load the
to increase SOA serial in this step to keep consistency. Finally, we can load the
modified zone file and if successful, thaw the zone.::
$ knotc zone-reload example.com.
......@@ -341,6 +341,9 @@ either in the log or via ``knotc zone-status``. There is no special log for fini
a rollover is triggered while another is in progress, it waits until the
first one is finished.
The ZSK rollover is performed with Pre-publish method, KSK rollover uses Double-Signature scheme,
as described in :rfc:`6781`.
.. _DNSSEC KSK rollover example:
KSK rollover example
......
......@@ -152,7 +152,7 @@ inline static knot_time_t knot_time_from_u32(uint32_t u32time)
* U - Matches one of Y, M, D, h, m, s in the timespec standing for a time unit.
* u - Like U, but the unit in the timestamp is from: y, mo, d, h, mi, s.
*
* \retval -1 An error occured, out_time has no sense.
* \retval -1 An error occurred, out_time has no sense.
* \return 0 OK, timestamp parsed successfully.
*/
int knot_time_parse(const char *format, const char *timespec, knot_time_t *time);
......@@ -165,7 +165,7 @@ int knot_time_parse(const char *format, const char *timespec, knot_time_t *time)
* \param dst The destination buffer pointer with text-formatted timestamp.
* \param dst_len The destination buffer length.
*
* \retval -1 An error occured, the buffer may be filled with nonsense.
* \retval -1 An error occurred, the buffer may be filled with nonsense.
* \return 0 OK, timestamp printed successfully.
*/
int knot_time_print(knot_time_print_t format, knot_time_t time, char *dst, size_t dst_len);
......@@ -143,7 +143,7 @@ static void dump_to_file(FILE *fd, server_t *server)
{
char date[64] = "";
// Get formated current time string.
// Get formatted current time string.
struct tm tm;
time_t now = time(NULL);
localtime_r(&now, &tm);
......
......@@ -123,7 +123,7 @@ int apply_changeset(apply_ctx_t *ctx, zone_contents_t *old_contents,
/*!
* \brief Applies changesets directly to the zone, without copying it.
*
* \warning Modified zone is in inconsitent state after error and should be freed.
* \warning Modified zone is in inconsistent state after error and should be freed.
*
* \param ctx Apply context.
* \param chsets List of changesets to be applied to the zone.
......
......@@ -24,7 +24,7 @@
* # Timer database
*
* Timer database stores timestaps of events which need to be retained
* accross server restarts. The key in the database is the zone name in
* across server restarts. The key in the database is the zone name in
* wire format. The value contains serialized timers.
*
* # Serialization format
......@@ -95,7 +95,7 @@ static int serialize_timers(const zone_timers_t *timers, uint8_t *data, size_t s
/*!
* \brief Deserialize timers from a binary buffer.
*
* \note Unkown timers are ignored.
* \note Unknown timers are ignored.
*/
static int deserialize_timers(zone_timers_t *timers_ptr,
const uint8_t *data, size_t size)
......
......@@ -34,7 +34,7 @@ int zone_load_contents(conf_t *conf, const knot_dname_t *zone_name,
/*!
* \brief Update zone contents from the journal.
*
* \warning If error, the zone is in inconsitent state and should be freed.
* \warning If error, the zone is in inconsistent state and should be freed.
*
* \param conf
* \param zone
......
......@@ -30,7 +30,7 @@ resp.check(rcode="NXDOMAIN", nordata="1.2.3.4")
slave.ctl("zone-refresh")
# check that slave transfered when invoked from ctl
# check that slave transferred when invoked from ctl
slave.zone_wait(zone, serial=2, equal=True)
resp = slave.dig("added.example.", "A")
resp.check(rcode="NOERROR", rdata="1.2.3.4")
......
......@@ -74,13 +74,13 @@ resp = knot.dig(zones[1].name, "TYPE11", tries=1, udp=True)
query_size3 = resp.query_size()
reply_size3 = resp.response_size()
# Sucessfull transfer.
# Successful transfer.
resp = knot.dig(zones[0].name, "AXFR", tries=1)
resp.check_xfr(rcode="NOERROR")
xfr_query_size = resp.query_size()
# Cannot get xfr_reply_size :-/
# Successfull update.
# Successful update.
up = knot.update(zones[1])
up.add(zones[1].name, "3600", "AAAA", "::1")
up.send("NOERROR")
......
......@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
ok(valid, "heap_insert");
ok(!EMPTY_HEAP(&heap), "heap is non-empty");
// excercise heap_insert
// exercise heap_insert
valid = true;
for (int i = 0; i < VALUE_COUNT; i++) {
......@@ -95,7 +95,7 @@ int main(int argc, char *argv[])
}
ok(valid, "heap_find");
// excercise heap_replace
// exercise heap_replace
assert(VALUE_REPLACE <= VALUE_COUNT);
struct value *replaced = calloc(VALUE_REPLACE, sizeof(struct value));
......@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
}
ok(valid, "heap_replace");
// excercise heap_delete
// exercise heap_delete
assert(VALUE_REPLACE + VALUE_DELETE < VALUE_COUNT);
......@@ -139,7 +139,7 @@ int main(int argc, char *argv[])
}
ok(valid, "heap_delete");
// excercise item retrieval
// exercise item retrieval
assert(VALUE_COUNT > VALUE_DELETE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment