Skip to content
Snippets Groups Projects
Commit e9910026 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

Merge branch 'kjournalprint_d_fix' into 'master'

kjournalprint: fixed -d option with zone-in-journal

See merge request !754
parents 0c059541 f8de9c48
No related branches found
No related tags found
1 merge request!754kjournalprint: fixed -d option with zone-in-journal
Pipeline #
......@@ -147,8 +147,13 @@ static void print_changeset_debugmode(const changeset_t *chs)
(void)zone_contents_apply(chs->add, rrtypelist_callback, &ctx_plus);
(void)zone_contents_nsec3_apply(chs->add, rrtypelist_callback, &ctx_plus);
printf("%u -> %u ---: %zu\t +++: %zu\t size: %zu\t", knot_soa_serial(&chs->soa_from->rrs),
knot_soa_serial(&chs->soa_to->rrs), count_minus, count_plus, changeset_serialized_size(chs));
if (chs->soa_from == NULL) {
printf("Zone-in-journal %u +++: %zu\t size: %zu\t", knot_soa_serial(&chs->soa_to->rrs),
count_plus, changeset_serialized_size(chs));
} else {
printf("%u -> %u ---: %zu\t +++: %zu\t size: %zu\t", knot_soa_serial(&chs->soa_from->rrs),
knot_soa_serial(&chs->soa_to->rrs), count_minus, count_plus, changeset_serialized_size(chs));
}
char temp[100];
dynarray_foreach(rrtype, uint16_t, i, types) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment