Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Knot DNS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
Knot DNS
Commits
47d4d641
Commit
47d4d641
authored
Feb 23, 2018
by
Daniel Kahn Gillmor
Committed by
Daniel Salzman
Feb 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix minor spelling nit-picks
These were found by the "codespell" tool.
parent
732ed690
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
16 additions
and
16 deletions
+16
-16
NEWS
NEWS
+1
-1
doc/operation.rst
doc/operation.rst
+1
-1
src/contrib/time.h
src/contrib/time.h
+2
-2
src/knot/common/stats.c
src/knot/common/stats.c
+1
-1
src/knot/updates/apply.h
src/knot/updates/apply.h
+1
-1
src/knot/zone/timers.c
src/knot/zone/timers.c
+2
-2
src/knot/zone/zone-load.h
src/knot/zone/zone-load.h
+1
-1
tests-extra/tests/events/freeze_thaw/test.py
tests-extra/tests/events/freeze_thaw/test.py
+1
-1
tests-extra/tests/modules/stats/test.py
tests-extra/tests/modules/stats/test.py
+2
-2
tests/contrib/test_heap.c
tests/contrib/test_heap.c
+4
-4
No files found.
NEWS
View file @
47d4d641
...
...
@@ -209,7 +209,7 @@ Knot DNS 2.4.1 (2017-02-10)
Improvements:
-------------
- Speed-up of rdata addition into a huge rrset
- Introduce check of min
u
mum timeout for next refresh
- Introduce check of min
i
mum timeout for next refresh
- Dnsproxy module can forward all queries without local resolving
Bugfixes:
...
...
doc/operation.rst
View file @
47d4d641
...
...
@@ -267,7 +267,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. Final
l
y, we can load the
modified zone file and if successful, thaw the zone.::
$ knotc zone-reload example.com.
...
...
src/contrib/time.h
View file @
47d4d641
...
...
@@ -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 occur
r
ed, 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 occur
r
ed, 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
);
src/knot/common/stats.c
View file @
47d4d641
...
...
@@ -143,7 +143,7 @@ static void dump_to_file(FILE *fd, server_t *server)
{
char
date
[
64
]
=
""
;
// Get formated current time string.
// Get format
t
ed current time string.
struct
tm
tm
;
time_t
now
=
time
(
NULL
);
localtime_r
(
&
now
,
&
tm
);
...
...
src/knot/updates/apply.h
View file @
47d4d641
...
...
@@ -97,7 +97,7 @@ int apply_prepare_to_sign(apply_ctx_t *ctx);
/*!
* \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 inconsi
s
tent state after error and should be freed.
*
* \param ctx Apply context.
* \param chsets List of changesets to be applied to the zone.
...
...
src/knot/zone/timers.c
View file @
47d4d641
...
...
@@ -24,7 +24,7 @@
* # Timer database
*
* Timer database stores timestaps of events which need to be retained
* ac
c
ross 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 Unk
n
own timers are ignored.
*/
static
int
deserialize_timers
(
zone_timers_t
*
timers_ptr
,
const
uint8_t
*
data
,
size_t
size
)
...
...
src/knot/zone/zone-load.h
View file @
47d4d641
...
...
@@ -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 inconsi
s
tent state and should be freed.
*
* \param conf
* \param zone
...
...
tests-extra/tests/events/freeze_thaw/test.py
View file @
47d4d641
...
...
@@ -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 transfer
r
ed 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"
)
...
...
tests-extra/tests/modules/stats/test.py
View file @
47d4d641
...
...
@@ -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
()
# Suc
essful
l transfer.
# Suc
cessfu
l 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 :-/
# Successful
l
update.
# Successful update.
up
=
knot
.
update
(
zones
[
1
])
up
.
add
(
zones
[
1
].
name
,
"3600"
,
"AAAA"
,
"::1"
)
up
.
send
(
"NOERROR"
)
...
...
tests/contrib/test_heap.c
View file @
47d4d641
...
...
@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
ok
(
valid
,
"heap_insert"
);
ok
(
!
EMPTY_HEAP
(
&
heap
),
"heap is non-empty"
);
// ex
c
ercise 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"
);
// ex
c
ercise 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"
);
// ex
c
ercise 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"
);
// ex
c
ercise item retrieval
// exercise item retrieval
assert
(
VALUE_COUNT
>
VALUE_DELETE
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment